/** * Wrap a Maybe, ignore its success value and terminate if * the source Maybe terminates. * @param source the MaybeSource to wrap into a Nono * @return the new Nono instance */ public static Nono fromMaybe(MaybeSource<?> source) { ObjectHelper.requireNonNull(source, "source is null"); return onAssembly(new NonoFromMaybe(source)); }
/** * Wrap a Maybe, ignore its success value and terminate if * the source Maybe terminates. * @param source the MaybeSource to wrap into a Nono * @return the new Nono instance */ public static Nono fromMaybe(MaybeSource<?> source) { ObjectHelper.requireNonNull(source, "source is null"); return onAssembly(new NonoFromMaybe(source)); }