Package org.jdeferred2
Interface ProgressFilter<P,P_OUT>
-
- Type Parameters:
P
- Type of the progress inputP_OUT
- Type of the progress output from this filter
- All Known Implementing Classes:
FilteredPromise.NoOpProgressFilter
public interface ProgressFilter<P,P_OUT>
A filter invoked when thePromise
publishes intermediate results while it is still in the state + *Promise.State.PENDING
. Filters allow to convert a value into a new value. This has to happen synchronous. For asynchronous calls seeProgressPipe
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description P_OUT
filterProgress(P progress)
-