Uses of Interface
io.smallrye.mutiny.subscription.UniEmitter
-
Packages that use UniEmitter Package Description io.smallrye.mutiny.groups io.smallrye.mutiny.subscription -
-
Uses of UniEmitter in io.smallrye.mutiny.groups
Method parameters in io.smallrye.mutiny.groups with type arguments of type UniEmitter Modifier and Type Method Description <T> Uni<T>UniCreate. emitter(java.util.function.Consumer<UniEmitter<? super T>> consumer)Creates aUnideferring the logic to the given consumer.<T,S>
Uni<T>UniCreate. emitter(java.util.function.Supplier<S> stateSupplier, java.util.function.BiConsumer<S,UniEmitter<? super T>> consumer)Creates aUnideferring the logic to the given consumer.<R> Uni<R>UniOnItem. transformToUni(java.util.function.BiConsumer<? super T,UniEmitter<? super R>> consumer)Transforms the received item asynchronously, forwarding the events emitted by anUniEmitterprovided to the given consumer.<R> Uni<R>UniOnItemOrFailure. transformToUni(Functions.TriConsumer<? super T,java.lang.Throwable,UniEmitter<? super R>> consumer)Transforms the received item or failure asynchronously, forwarding the events emitted by theUniEmitterprovided to the given consumer.<R> Uni<R>UniOnNotNull. transformToUni(java.util.function.BiConsumer<? super T,UniEmitter<? super R>> consumer)Transforms the received item asynchronously, forwarding the events emitted anUniEmitterconsumes by the given consumer.<T> UniRepeat<T>MultiRepetition. uni(java.util.function.Consumer<UniEmitter<? super T>> consumer)Creates aMultiby repeating the items fired by the producedConsumerreceiving anUniEmitterto fire the item or failure.<S,T>
UniRepeat<T>MultiRepetition. uni(java.util.function.Supplier<S> stateSupplier, java.util.function.BiConsumer<S,UniEmitter<? super T>> consumer)Creates aMultiby repeating the items fired by the producedBiConsumer. -
Uses of UniEmitter in io.smallrye.mutiny.subscription
Methods in io.smallrye.mutiny.subscription that return UniEmitter Modifier and Type Method Description UniEmitter<T>UniEmitter. onTermination(java.lang.Runnable onTermination)Attaches a @{code termination} event handler invoked when the downstreamUniSubscriptionis cancelled, or when the emitter has emitted either anitemorfailureevent.
-