public interface MonoLifecycleHandler<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
doOnSubscribe() |
default void |
doOnTerminal(SignalType signalType,
T element,
Throwable e)
Handler which is invoked on the terminal activity within a given Monoø
|
default void doOnSubscribe()
default void doOnTerminal(@Nonnull SignalType signalType, @Nullable T element, @Nullable Throwable e)
signalType - a type of signal which explain what happenedelement - an carried element. May not be present if stream is empty or cancelled or
errorede - an carried error. May not be present if stream is cancelled or completed successfully