| Package | Description |
|---|---|
| io.smallrye.mutiny.groups | |
| io.smallrye.mutiny.helpers | |
| io.smallrye.mutiny.operators.multi.builders | |
| io.smallrye.mutiny.subscription |
| Modifier and Type | Method and Description |
|---|---|
<T> Multi<T> |
MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer)
Like
MultiCreate.emitter(Consumer, BackPressureStrategy) with the BackPressureStrategy.BUFFER strategy. |
<T> Multi<T> |
MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer,
BackPressureStrategy strategy)
Creates a
Multi deferring the logic to the given consumer. |
Multi<T> |
MultiIfEmpty.switchToEmitter(Consumer<MultiEmitter<? super T>> consumer)
When the upstream
Multi completes without having emitted items, it continues with the events fired with
the emitter passed to the consumer callback. |
Multi<T> |
MultiOnCompletion.switchToEmitter(Consumer<MultiEmitter<? super T>> consumer)
When the upstream
Multi completes, it continues with the events fired with the emitter passed to the
consumer callback. |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiEmitterProcessor<T> |
| Modifier and Type | Method and Description |
|---|---|
MultiEmitter<T> |
MultiEmitterProcessor.emit(T item) |
MultiEmitter<T> |
MultiEmitterProcessor.onTermination(Runnable onTermination) |
| Modifier and Type | Class and Description |
|---|---|
class |
BufferItemMultiEmitter<T> |
class |
SerializedMultiEmitter<T>
Serializes calls to onItem, onFailure and onCompletion and their Reactive Streams equivalent.
|
| Modifier and Type | Method and Description |
|---|---|
MultiEmitter<T> |
SerializedMultiEmitter.emit(T item) |
MultiEmitter<T> |
BufferItemMultiEmitter.emit(T t) |
MultiEmitter<T> |
SerializedMultiEmitter.onTermination(Runnable onTermination) |
| Constructor and Description |
|---|
EmitterBasedMulti(Consumer<MultiEmitter<? super T>> consumer,
BackPressureStrategy backpressure) |
| Modifier and Type | Method and Description |
|---|---|
MultiEmitter<T> |
MultiEmitter.emit(T item)
Emits an
item event downstream. |
MultiEmitter<T> |
MultiEmitter.onTermination(Runnable onTermination)
Attaches a @{code termination} event handler invoked when the downstream
Subscription is cancelled,
or when the emitter has emitted either a completion or failure event. |
Copyright © 2019–2020 SmallRye. All rights reserved.