Click or drag to resize

PromiseBaseT Methods

The PromiseBaseT generic type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAllR
Returns a promise that resolves when all passed in promises resolve.
Protected methodDoAllR
Internal DoAll.
Public methodEquals (Inherited from Object.)
Public methodFail(Action1Exception)
Appends a handler to be executed when the promise is rejected.
(Inherited from FutureT.)
Public methodFail(Function1Exception, FutureT)
Appends a handler to be executed when the promise is rejected.
(Inherited from FutureT.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodProcess
Processes the specified promise.
Public methodReject
Rejects the promise.
Public methodRejectAsync
Rejects the promise asynchronously.
Public methodStatic memberRejectNow(Exception)
Creates a promise and rejects it immediately.
Public methodStatic memberRejectNowR(Exception)
Creates a promise and rejects it immediately.
Public methodResolve
Resolves the promise.
Public methodResolveAsync
Resolves the promise asynchronously.
Public methodStatic memberResolveNow
Creates a promise and resolves it immediately using a null result value.
Public methodStatic memberResolveNowR(R)
Creates a promise and resolves it immediately using the given result value.
Public methodThen(Action1T)
Appends a handler to be executed when the promise is resolved.
(Inherited from FutureT.)
Public methodThen(Action1T, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Inherited from FutureT.)
Public methodThenR(Function1T, FutureR)
Appends a handler to be executed when the promise is resolved.
(Inherited from FutureT.)
Public methodThenR(Function1T, FutureR, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Inherited from FutureT.)
Public methodToString (Inherited from Object.)
Public methodWaitForPromise
Blocks the current thread from proceeding until the future state has been resolved or rejected.
(Inherited from FutureT.)
Public methodWaitForResult
Blocks the current thread from proceeding until the future has a result. Throws an exception if the promise is rejected.
(Inherited from FutureT.)
Public methodStatic memberWrapPromiseR
Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown.
Top
See Also