Interface FailFilter<F,F_OUT>

Type Parameters:
F - Type of the failure input
F_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 the Promise's state becomes Promise.State.REJECTED. Filters allow to convert a value into a new value. This has to happen synchronous. For asynchronous calls see FailPipe.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    filterFail(F result)
     
  • Method Details

    • filterFail

      F_OUT filterFail(F result)