@NonNull abstract fun ifNothing(@NonNull action: Consumer0): Maybe<A>
Performs the provided action if the Maybe
represents a Nothing
. Note: If action throws, then this method may throw an Exception.
action
- Consumer0: a side-effect action to performs.