toFutureOrElse method

Future<Option<T>> toFutureOrElse(
  1. Future<Option<T>> future
)

Implementation

Future<Option<T>> toFutureOrElse(Future<Option<T>> future) =>
    fold(() => future, (some) => toFuture());