Interface ProgressFilter<P,P_OUT>

Type Parameters:
P - Type of the progress input
P_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 the Promise 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 see ProgressPipe.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    filterProgress(P progress)
     
  • Method Details

    • filterProgress

      P_OUT filterProgress(P progress)