| 212 | enum class FutureState : int8_t { PENDING, SUCCESS, FAILURE }; |
| 213 | |
| 214 | inline bool IsFutureFinished(FutureState state) { return state != FutureState::PENDING; } |
| 215 | |
| 216 | /// \brief Describe whether the callback should be scheduled or run synchronously |
| 217 | enum class ShouldSchedule { |
no outgoing calls