Interface ProgressPipe<P,D_OUT,F_OUT,P_OUT>
- Type Parameters:
P- Type of the progress inputD_OUT- Type of the output from this pipeF_OUT- Type of the failure output from this pipeP_OUT- Type of the progress output from this pipe
public interface ProgressPipe<P,D_OUT,F_OUT,P_OUT>
A pipe invoked when the
Promise publishes intermediate results while it is still in the state
Promise.State.PENDING.
Pipes allow to start a new Deferred and any state change or update invoked on the new Deferred is
piped to the outer Promise. This allows to chain asynchronous calls or convert a rejection into resolve
or vice versa.- See Also:
-
Method Summary
-
Method Details
-
pipeProgress
-