Uses of Interface
io.smallrye.mutiny.subscription.UniEmitter
-
Packages that use UniEmitter Package Description io.smallrye.mutiny.groups io.smallrye.mutiny.operators.uni.builders 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 aUni
deferring 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 aUni
deferring 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 anUniEmitter
provided 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 theUniEmitter
provided 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 anUniEmitter
consumes by the given consumer.<T> UniRepeat<T>
MultiRepetition. uni(java.util.function.Consumer<UniEmitter<? super T>> consumer)
Creates aMulti
by repeating the items fired by the producedConsumer
receiving anUniEmitter
to 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 aMulti
by repeating the items fired by the producedBiConsumer
. -
Uses of UniEmitter in io.smallrye.mutiny.operators.uni.builders
Classes in io.smallrye.mutiny.operators.uni.builders that implement UniEmitter Modifier and Type Class Description class
DefaultUniEmitter<T>
Implementation of the Uni Emitter.Methods in io.smallrye.mutiny.operators.uni.builders that return UniEmitter Modifier and Type Method Description UniEmitter<T>
DefaultUniEmitter. onTermination(java.lang.Runnable onTermination)
Constructor parameters in io.smallrye.mutiny.operators.uni.builders with type arguments of type UniEmitter Constructor Description UniCreateFromEmitterWithState(java.util.function.Supplier<S> stateSupplier, java.util.function.BiConsumer<S,UniEmitter<? super T>> consumer)
UniCreateWithEmitter(java.util.function.Consumer<UniEmitter<? super T>> consumer)
-
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 downstreamUniSubscription
is cancelled, or when the emitter has emitted either anitem
orfailure
event.
-