Uses of Interface
mutiny.zero.Tube
Packages that use Tube
Package
Description
Mutiny Zero is minimal API for creating reactive streams compliant
Flow.Publisher
objects.-
Uses of Tube in mutiny.zero
Methods in mutiny.zero that return TubeModifier and TypeMethodDescriptionSend an item.Tube.whenCancelled
(Runnable action) Define an action when the subscription is cancelled.Tube.whenRequested
(LongConsumer consumer) Define an action when items are being requested.Tube.whenTerminates
(Runnable action) Define an action on termination (completion, error or cancellation), typically for cleanup purposes.Method parameters in mutiny.zero with type arguments of type TubeModifier and TypeMethodDescriptionstatic <T> Flow.Publisher<T>
ZeroPublisher.create
(TubeConfiguration configuration, Consumer<Tube<T>> tubeConsumer) Create a newFlow.Publisher
with the general-purposeTube
API.