Uses of Interface
mutiny.zero.Tube
-
Packages that use Tube Package Description mutiny.zero Mutiny Zero is minimal API for creating reactive streams compliantFlow.Publisherobjects. -
-
Uses of Tube in mutiny.zero
Methods in mutiny.zero that return Tube Modifier and Type Method Description Tube<T>Tube. send(T item)Send an item.Tube<T>Tube. whenCancelled(java.lang.Runnable action)Define an action when the subscription is cancelled.Tube<T>Tube. whenRequested(java.util.function.LongConsumer consumer)Define an action when items are being requested.Tube<T>Tube. whenTerminates(java.lang.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 Tube Modifier and Type Method Description static <T> java.util.concurrent.Flow.Publisher<T>ZeroPublisher. create(TubeConfiguration configuration, java.util.function.Consumer<Tube<T>> tubeConsumer)Create a newFlow.Publisherwith the general-purposeTubeAPI.
-