| 228 | enum class FutureState : int8_t { PENDING, SUCCESS, FAILURE }; |
| 229 | |
| 230 | inline bool IsFutureFinished(FutureState state) { return state != FutureState::PENDING; } |
| 231 | |
| 232 | /// \brief Describe whether the callback should be scheduled or run synchronously |
| 233 | enum class ShouldSchedule { |
no outgoing calls