flatMapTask<A, B> function

TaskOption<B> Function(TaskOption<A> taskOption) flatMapTask<A, B>(
  1. Task<B> f(
    1. A value
    )
)

Implementation

TaskOption<B> Function(TaskOption<A> taskOption) flatMapTask<A, B>(
  Task<B> Function(A value) f,
) =>
    flatMap((a) => fromTask(f(a)));