| Package | Description |
|---|---|
| io.smallrye.mutiny.groups | |
| io.smallrye.mutiny.operators | |
| io.smallrye.mutiny.subscription |
| Modifier and Type | Method and Description |
|---|---|
<T> Uni<T> |
UniCreate.emitter(Consumer<UniEmitter<? super T>> consumer)
Creates a
Uni deferring the logic to the given consumer. |
<T,S> Uni<T> |
UniCreate.emitter(Supplier<S> stateSupplier,
BiConsumer<S,UniEmitter<? super T>> consumer)
Creates a
Uni deferring the logic to the given consumer. |
<R> Uni<R> |
UniOnNotNull.produceUni(BiConsumer<? super T,UniEmitter<? super R>> consumer)
Deprecated.
Use
UniOnNotNull.transformToUni(BiConsumer) instead. |
<R> Uni<R> |
UniOnItem.produceUni(BiConsumer<? super T,UniEmitter<? super R>> consumer)
Deprecated.
|
<R> Uni<R> |
UniOnItemOrFailure.produceUni(Functions.TriConsumer<? super T,Throwable,UniEmitter<? super R>> consumer)
Deprecated.
|
<R> Uni<R> |
UniOnNotNull.transformToUni(BiConsumer<? super T,UniEmitter<? super R>> consumer)
Transforms the received item asynchronously, forwarding the events emitted an
UniEmitter consumes by
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 an
UniEmitter provided 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 the
UniEmitter
provided to the given consumer. |
<T> UniRepeat<T> |
MultiRepetition.uni(Consumer<UniEmitter<? super T>> consumer)
Creates a
Multi by repeating the items fired by the produced Consumer
receiving an UniEmitter to fire the item or failure. |
<S,T> UniRepeat<T> |
MultiRepetition.uni(Supplier<S> stateSupplier,
BiConsumer<S,UniEmitter<? super T>> consumer)
Creates a
Multi by repeating the items fired by the produced BiConsumer. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultUniEmitter<T>
Implementation of the Uni Emitter.
|
| Modifier and Type | Method and Description |
|---|---|
UniEmitter<T> |
DefaultUniEmitter.onTermination(Runnable callback) |
| Constructor and Description |
|---|
UniCreateWithEmitter(Consumer<UniEmitter<? super T>> consumer) |
| Modifier and Type | Method and Description |
|---|---|
UniEmitter<T> |
UniEmitter.onTermination(Runnable onTermination)
Attaches a @{code termination} event handler invoked when the downstream
UniSubscription is cancelled,
or when the emitter has emitted either an item or failure event. |
Copyright © 2019–2020 SmallRye. All rights reserved.