Click or drag to resize

FutureT Methods

The FutureT generic type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodFail(Action1Exception)
Appends a handler to be executed when the promise is rejected.
Public methodFail(Function1Exception, FutureT)
Appends a handler to be executed when the promise is rejected.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodThen(Action1T)
Appends a handler to be executed when the promise is resolved.
Public methodThen(Action1T, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
Public methodThenR(Function1T, FutureR)
Appends a handler to be executed when the promise is resolved.
Public methodThenR(Function1T, FutureR, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
Public methodToString (Inherited from Object.)
Public methodWaitForPromise
Blocks the current thread from proceeding until the future state has been resolved or rejected.
Public methodWaitForResult
Blocks the current thread from proceeding until the future has a result. Throws an exception if the promise is rejected.
Top
See Also