Fields

then(doneCallbacks:EitherType<Function, Array<Function>>, failCallbacks:EitherType<Function, Array<Function>>):Promise

then(doneFilter:Function, ?failFilter:Function, ?progressFilter:Function):Promise

then(doneCallbacks:EitherType<Function, Array<Function>>, failCallbacks:EitherType<Function, Array<Function>>, ?progressCallbacks:EitherType<Function, Array<Function>>):Promise

Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.

state():String

Determine the current state of a Deferred object.

progress(progressCallbacks:EitherType<Function, EitherType<Array<Dynamic>, Array<Function>>>, ?progressCallbacks:EitherType<Function, EitherType<Array<Dynamic>, Array<Function>>>):Deferred

Add handlers to be called when the Deferred object generates progress notifications.

pipe(?doneFilter:Function, ?failFilter:Function):Promise

pipe(?doneFilter:Function, ?failFilter:Function, ?progressFilter:Function):Promise

Deprecated: "Deprecated since jQuery 1.8"

Utility method to filter and/or chain Deferreds.

isResolved():Bool

Deprecated: "Deprecated since jQuery 1.7"

Determine whether a Deferred object has been resolved.

isRejected():Bool

Deprecated: "Deprecated since jQuery 1.7"

Determine whether a Deferred object has been rejected.

fail(failCallbacks:EitherType<Function, Array<Function>>, ?failCallbacks:EitherType<Function, Array<Function>>):Deferred

Add handlers to be called when the Deferred object is rejected.

done(doneCallbacks:EitherType<Function, Array<Function>>, ?doneCallbacks:EitherType<Function, Array<Function>>):Deferred

Add handlers to be called when the Deferred object is resolved.

always(alwaysCallbacks:EitherType<Function, Array<Function>>, ?alwaysCallbacks:EitherType<Function, Array<Function>>):Deferred

Add handlers to be called when the Deferred object is either resolved or rejected.