Package org.jdeferred2
Interface FailFilter<F,F_OUT>
-
- Type Parameters:
F
- Type of the failure inputF_OUT
- Type of the failure output from this filter
- All Known Implementing Classes:
FilteredPromise.NoOpFailFilter
public interface FailFilter<F,F_OUT>
A filter invoked when thePromise
's state becomesPromise.State.REJECTED
. Filters allow to convert a value into a new value. This has to happen synchronous. For asynchronous calls seeFailPipe
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description F_OUT
filterFail(F result)
-