public class UniOnCancel<T> extends Object
| Constructor and Description |
|---|
UniOnCancel(Uni<T> upstream) |
| Modifier and Type | Method and Description |
|---|---|
Uni<T> |
call(Supplier<Uni<?>> supplier)
Attaches an action executed when the subscription is cancelled.
|
Uni<T> |
invoke(Runnable action)
Attaches an action executed when the subscription is cancelled.
|
Uni<T> |
invokeUni(Supplier<Uni<?>> supplier)
Deprecated.
Use
call(Supplier) |
public Uni<T> invoke(Runnable action)
action - the action, must not be nullUni@Deprecated public Uni<T> invokeUni(Supplier<Uni<?>> supplier)
call(Supplier)Copyright © 2019–2020 SmallRye. All rights reserved.