Module methanol

Interface ProgressTracker.Listener

All Superinterfaces:
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.Listener
A listener of progress events. Listener extends from Subscriber<Progress> and provides sufficient default implementations for all methods but onNext, 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 is enclosed, onSubscribe and onComplete can still be detected by onNext as 0% or 100% progress events respectively.