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