Method | Description | |
---|---|---|
Always ( ) : |
Add handlers to be called when the deferred object is resolved or rejected.
|
|
Done ( ) : |
Add handlers to be called when the deferred object is resolved. If the deferred object is already resolved, the handlers are still invoked.
|
|
Fail ( ) : |
Add handlers to be called when the deferred object is rejected. If the deferred object is already resolved, the handlers are still invoked.
|
|
IsRejected ( ) : bool |
Determines whether the deferred object has been rejected.
|
|
IsResolved ( ) : bool |
Determines whether the deferred object has been resolved.
|
|
Promise ( ) : IDeferred |
Returns a deferred object that can be further composed.
|
|
Then ( System.Action doneCallback, System.Action failCallback ) : |
Add handlers to be called when the deferred object is resolved or rejected. If the object has already been resolved or rejected, the handlers are still invoked.
|
|
Then ( Callback doneCallback, Callback failCallback ) : |
Add handlers to be called when the deferred object is resolved or rejected. If the object has already been resolved or rejected, the handlers are still invoked.
|
Method | Description | |
---|---|---|
IDeferred ( ) : IDeferred | ||
IDeferred ( System.Action doneCallback, System.Action failCallback ) : IDeferred | ||
IDeferred ( Callback doneCallback, Callback failCallback ) : IDeferred | ||
IDeferred ( jQueryDeferredFilter successFilter ) : IDeferred | ||
IDeferred ( jQueryDeferredFilter successFilter, jQueryDeferredFilter failFilter ) : IDeferred | ||
IDeferred ( ) : bool | ||
IPromise ( |
||
IPromise ( |
||
IPromise ( |
||
Reject ( ) : |
||
RejectWith ( object context ) : |
||
Resolve ( ) : |
||
ResolveWith ( object context ) : |
||
jQueryDeferred ( ) : System |
public Then ( System.Action doneCallback, System.Action failCallback ) : |
||
doneCallback | System.Action | The callback to invoke when the object is resolved. |
failCallback | System.Action | The callback to invoke when the object is rejected. |
return |
public Then ( Callback doneCallback, Callback failCallback ) : |
||
doneCallback | Callback | The callback to invoke when the object is resolved. |
failCallback | Callback | The callback to invoke when the object is rejected. |
return |