Uses of Interface
io.smallrye.mutiny.subscription.UniEmitter
Packages that use UniEmitter
-
Uses of UniEmitter in io.smallrye.mutiny.groups
Method parameters in io.smallrye.mutiny.groups with type arguments of type UniEmitterModifier and TypeMethodDescription<T> Uni<T> UniCreate.emitter(Consumer<UniEmitter<? super T>> consumer) Creates aUnideferring the logic to the given consumer.<T,S> Uni <T> UniCreate.emitter(Supplier<S> stateSupplier, BiConsumer<S, UniEmitter<? super T>> consumer) Creates aUnideferring the logic to the given consumer.<R> Uni<R> UniOnItem.transformToUni(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, 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(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(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(Supplier<S> stateSupplier, 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 UniEmitterModifier and TypeMethodDescriptionUniEmitter.onTermination(Runnable onTermination) Attaches a @{code termination} event handler invoked when the downstreamUniSubscriptionis cancelled, or when the emitter has emitted either anitemorfailureevent.