GARFutureState

Summary

Enumerations

GARFutureState{
  GARFutureStatePending = 0,
  GARFutureStateCancelled = 1,
  GARFutureStateDone = 2
}
enum
The state of an async operation.

Enumerations

GARFutureState

 GARFutureState

The state of an async operation.

Properties
GARFutureStateCancelled

The operation has been cancelled.

Any registered callback will never be invoked.

GARFutureStateDone

The operation is complete and the result is available.

If a callback was registered, it will soon be invoked with the result, if it hasn't been invoked already.

GARFutureStatePending

The operation is still pending.

It may still be possible to cancel the operation. The result of the operation isn't available yet, and any registered callback hasn't yet been dispatched or invoked.