Package org.jdeferred2
package org.jdeferred2
-
ClassDescriptionAlwaysCallback<D,
F> AlwaysPipe<D,F, D_OUT, F_OUT, P> Handles global exceptions that are uncaught by the callbacks.Allows aDeferredFutureTaskto onCancel resources when its task is interrupted or cancelled.Deferred<D,F, P> Deferred interface to trigger an event (resolve, reject, notify).DeferredCallable<D,P> Use this as superclass in case you need to be able to return a result and notify progress.DeferredFutureTask<D,P> DeferredManageris especially useful when dealing with asynchronous tasks, eitherRunnableorCallableobjects.Use this as superclass in case you need to be able to be able to notify progress.DoneCallback<D>A callback invoked when thePromise's state becomesRESOLVED.DoneFilter<D,D_OUT> A filter invoked when thePromise's state becomesRESOLVED.DonePipe<D,D_OUT, F_OUT, P_OUT> A pipe invoked when thePromise's state becomesRESOLVED.FailCallback<F>A callback invoked when thePromise's state becomesREJECTED.FailFilter<F,F_OUT> A filter invoked when thePromise's state becomesREJECTED.FailPipe<F,D_OUT, F_OUT, P_OUT> A pipe invoked when thePromise's state becomesREJECTED.A callback invoked when thePromisepublishes intermediate results while its state is stillPENDING.ProgressFilter<P,P_OUT> A filter invoked when thePromisepublishes intermediate results while it is still in the state + *PENDING.ProgressPipe<P,D_OUT, F_OUT, P_OUT> A pipe invoked when thePromisepublishes intermediate results while it is still in the statePENDING.Promise<D,F, P> Promise interface to observe when some action has occurred on the correspondingDeferredobject.