Uses of Interface
io.smallrye.mutiny.subscription.MultiEmitter
Packages that use MultiEmitter
-
Uses of MultiEmitter in io.smallrye.mutiny.groups
Method parameters in io.smallrye.mutiny.groups with type arguments of type MultiEmitterModifier and TypeMethodDescription<T> Multi<T> MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer) LikeMultiCreate.emitter(Consumer, BackPressureStrategy)with theBackPressureStrategy.BUFFERstrategy.<T> Multi<T> MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer, int bufferSize) LikeMultiCreate.emitter(Consumer)with theBackPressureStrategy.BUFFERstrategy and the given buffer size.<T> Multi<T> MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer, BackPressureStrategy strategy) Creates aMultideferring the logic to the given consumer.MultiIfEmpty.switchToEmitter(Consumer<MultiEmitter<? super T>> consumer) When the upstreamMulticompletes without having emitted items, it continues with the events fired with the emitter passed to theconsumercallback.MultiOnCompletion.switchToEmitter(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 MultiEmitterModifier and TypeMethodDescriptionEmits anitemevent downstream.default MultiEmitter<T> MultiEmitter.onCancellation(Runnable onCancellation) Defines a callback forFlow.Subscription.cancel()signals.default MultiEmitter<T> MultiEmitter.onRequest(LongConsumer consumer) Defines a callback forFlow.Subscription.request(long)signals.MultiEmitter.onTermination(Runnable onTermination) Attaches a @{code termination} event handler invoked when the downstreamFlow.Subscriptionis cancelled, or when the emitter has emitted either acompletionorfailureevent.