-
- All Superinterfaces:
java.util.concurrent.Flow.Subscriber<ProgressTracker.Progress>
- Enclosing class:
- ProgressTracker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ProgressTracker.ListenerA listener ofprogress events.Listenerextends fromSubscriber<Progress>and provides sufficient default implementations for all methods butonNext, allowing it to be used as a functional interface in most cases. Override default methods if you want to handle other subscriber notifications. Note that if progress isenclosed,onSubscribeandonCompletecan still be detected byonNextas0%or100%progress events respectively.