Do<A> function

TaskOption<A> Do<A>(
  1. DoFunction<A> f
)

Implementation

TaskOption<A> Do<A>(DoFunction<A> f) =>
    TaskOption(Task(() => f(_doAdapter).then(
          O.some,
          onError: (_) => kNone,
        )));