Package org.jdeferred2
package org.jdeferred2
-
ClassDescriptionAlwaysCallback<D,
F> A callback invoked when thePromise
's state becomes eitherPromise.State.RESOLVED
orPromise.State.REJECTED
.AlwaysPipe<D,F, D_OUT, F_OUT, P> Handles global exceptions that are uncaught by the callbacks.Allows aDeferredFutureTask
to 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> DeferredManager
is especially useful when dealing with asynchronous tasks, eitherRunnable
orCallable
objects.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 becomesPromise.State.RESOLVED
.DoneFilter<D,D_OUT> A filter invoked when thePromise
's state becomesPromise.State.RESOLVED
.DonePipe<D,D_OUT, F_OUT, P_OUT> A pipe invoked when thePromise
's state becomesPromise.State.RESOLVED
.FailCallback<F>A callback invoked when thePromise
's state becomesPromise.State.REJECTED
.FailFilter<F,F_OUT> A filter invoked when thePromise
's state becomesPromise.State.REJECTED
.FailPipe<F,D_OUT, F_OUT, P_OUT> A pipe invoked when thePromise
's state becomesPromise.State.REJECTED
.A callback invoked when thePromise
publishes intermediate results while its state is stillPromise.State.PENDING
.ProgressFilter<P,P_OUT> A filter invoked when thePromise
publishes intermediate results while it is still in the state + *Promise.State.PENDING
.ProgressPipe<P,D_OUT, F_OUT, P_OUT> A pipe invoked when thePromise
publishes intermediate results while it is still in the statePromise.State.PENDING
.Promise<D,F, P> Promise interface to observe when some action has occurred on the correspondingDeferred
object.