Uses of Interface
io.smallrye.mutiny.subscription.MultiEmitter
-
Packages that use MultiEmitter Package Description io.smallrye.mutiny.groups io.smallrye.mutiny.subscription -
-
Uses of MultiEmitter in io.smallrye.mutiny.groups
Method parameters in io.smallrye.mutiny.groups with type arguments of type MultiEmitter Modifier and Type Method Description <T> Multi<T>MultiCreate. emitter(java.util.function.Consumer<MultiEmitter<? super T>> consumer)LikeMultiCreate.emitter(Consumer, BackPressureStrategy)with theBackPressureStrategy.BUFFERstrategy.<T> Multi<T>MultiCreate. emitter(java.util.function.Consumer<MultiEmitter<? super T>> consumer, int bufferSize)LikeMultiCreate.emitter(Consumer)with theBackPressureStrategy.BUFFERstrategy and the given buffer size.<T> Multi<T>MultiCreate. emitter(java.util.function.Consumer<MultiEmitter<? super T>> consumer, BackPressureStrategy strategy)Creates aMultideferring the logic to the given consumer.Multi<T>MultiIfEmpty. switchToEmitter(java.util.function.Consumer<MultiEmitter<? super T>> consumer)When the upstreamMulticompletes without having emitted items, it continues with the events fired with the emitter passed to theconsumercallback.Multi<T>MultiOnCompletion. switchToEmitter(java.util.function.Consumer<MultiEmitter<? super T>> consumer)When the upstreamMulticompletes, it continues with the events fired with the emitter passed to theconsumercallback. -
Uses of MultiEmitter in io.smallrye.mutiny.subscription
Methods in io.smallrye.mutiny.subscription that return MultiEmitter Modifier and Type Method Description MultiEmitter<T>MultiEmitter. emit(T item)Emits anitemevent downstream.MultiEmitter<T>MultiEmitter. onTermination(java.lang.Runnable onTermination)Attaches a @{code termination} event handler invoked when the downstreamSubscriptionis cancelled, or when the emitter has emitted either acompletionorfailureevent.
-