| Package | Description |
|---|---|
| io.smallrye.mutiny.groups | |
| io.smallrye.mutiny.helpers | |
| io.smallrye.mutiny.operators | |
| io.smallrye.mutiny.subscription |
| Modifier and Type | Method and Description |
|---|---|
Uni<T> |
UniOnEvent.subscribed(Consumer<? super UniSubscription> consumer)
Attaches an action executed when the
Uni has received a UniSubscription from upstream. |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyUniSubscription
An implementation of
UniSubscription ignoring all call to EmptyUniSubscription.cancel(). |
class |
UniCallbackSubscriber<T>
Implementation of a
UniSubscriber based on callbacks. |
| Modifier and Type | Field and Description |
|---|---|
static UniSubscription |
EmptyUniSubscription.CANCELLED
The instance that can be shared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UniCallbackSubscriber.onSubscribe(UniSubscription sub) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultUniEmitter<T>
Implementation of the Uni Emitter.
|
protected static class |
UniFlatMapOnItem.FlatMapSubscription |
class |
UniSerializedSubscriber<T>
An implementation of
UniSubscriber and UniSubscription making sure event handlers are only called once. |
| Modifier and Type | Method and Description |
|---|---|
void |
UniCache.onSubscribe(UniSubscription subscription) |
void |
UniDelegatingSubscriber.onSubscribe(UniSubscription subscription) |
void |
UniSerializedSubscriber.onSubscribe(UniSubscription subscription) |
| Constructor and Description |
|---|
UniOnSubscription(Uni<T> upstream,
Consumer<? super UniSubscription> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
UniSubscriber.onSubscribe(UniSubscription subscription)
Event handler called once the subscribed
Uni has taken into account the subscription. |
Copyright © 2019–2020 SmallRye. All rights reserved.