success

success

Calling this method multiple times or after the other
terminating methods has no effect (the value is purely ignored). Calling this method with
a null value will be silently accepted as a call to
success() by standard implementations.

Parameters:

value - the value to complete with

error

Calling this method multiple times or after the other terminating methods is
an unsupported operation. It will discard the exception through the
Hooks.onErrorDropped(Consumer) hook (which by default throws the exception
wrapped via Exceptions.bubble(Throwable)). This is to avoid
complete and silent swallowing of the exception.

onDispose

Attach a Disposable as a callback for when this MonoSink is effectively
disposed, that is it cannot be used anymore. This includes both having played terminal
signals (onComplete, onError) and having been cancelled (see onCancel(Disposable)).