Click or drag to resize

PromiseT Class

A promise.
Inheritance Hierarchy
SystemObject
  FM.IceLinkFutureBaseT
    FM.IceLinkFutureT
      FM.IceLinkPromiseBaseT
        FM.IceLinkPromiseT

Namespace:  FM.IceLink
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The PromiseT type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Protected methodDoAllR
Internal DoAll.
(Inherited from PromiseBaseT.)
Public methodEquals (Inherited from Object.)
Public methodFail(Action1Exception)
Appends a handler to be executed when the promise is rejected.
(Overrides FutureTFail(Action1Exception).)
Public methodFail(Function1Exception, FutureT)
Appends a handler to be executed when the promise is rejected.
(Overrides FutureTFail(Function1Exception, 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.
(Inherited from PromiseBaseT.)
Public methodReject
Rejects the promise.
(Inherited from PromiseBaseT.)
Public methodRejectAsync
Rejects the promise asynchronously.
(Inherited from PromiseBaseT.)
Public methodResolve
Resolves the promise.
(Inherited from PromiseBaseT.)
Public methodResolveAsync
Resolves the promise asynchronously.
(Inherited from PromiseBaseT.)
Public methodThen(Action1T)
Appends a handler to be executed when the promise is resolved.
(Overrides FutureTThen(Action1T).)
Public methodThen(Action1T, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Overrides FutureTThen(Action1T, Action1Exception).)
Public methodThenR(Function1T, FutureR)
Appends a handler to be executed when the promise is resolved.
(Inherited from FutureT.)
Public methodThenR(Function1T, FutureR)
Appends a handler to be executed when the promise is resolved.
(Overrides FutureTThenR(Function1T, FutureR).)
Public methodThenR(Function1T, FutureR, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Inherited from FutureT.)
Public methodThenR(Function1T, FutureR, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Overrides FutureTThenR(Function1T, FutureR, Action1Exception).)
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 memberWrap(Action0)
Creates a promise and resolves it after invoking a callback action, or rejects it if an exception is thrown.
Public methodStatic memberWrapR(Function0R)
Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown.
Public methodStatic memberWrapAsync(Action0)
Creates a promise and resolves it after invoking a callback action, or rejects it if an exception is thrown. The callback is always dispatched to the background.
Public methodStatic memberWrapAsyncR(Function0R)
Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. The callback is always dispatched to the background.
Top
See Also