| 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> |
UniOnSubscribe.invoke(Consumer<? super UniSubscription> callback)
Produces a new
Uni invoking the given callback when the subscription is received. |
Uni<T> |
UniOnSubscribe.invokeUni(Function<? super UniSubscription,Uni<?>> action)
Produces a new
Uni invoking the given @{code action} when the subscription event is received. |
Uni<T> |
UniOnEvent.subscribed(Consumer<? super UniSubscription> consumer)
Deprecated.
Uni
Uni.onSubscribe() instead. |
| 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 |
UniOnItemTransformToUni.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 |
UniDelegatingSubscriber.onSubscribe(UniSubscription subscription) |
void |
UniSerializedSubscriber.onSubscribe(UniSubscription subscription) |
void |
UniCache.onSubscribe(UniSubscription subscription) |
| Constructor and Description |
|---|
UniOnSubscribeInvoke(Uni<? extends T> upstream,
Consumer<? super UniSubscription> callback) |
UniOnSubscribeInvokeUni(Uni<? extends T> upstream,
Function<? super UniSubscription,Uni<?>> callback) |
| 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.