flatMapTuple3<A, A2, A3> function

TaskOption<Tuple3<A, A2, A3>> Function(TaskOption o) flatMapTuple3<A, A2, A3>(
  1. TaskOption<A3> f(
    1. dynamic a
    )
)

A variant of flatMap that appends the result to a tuple.

Implementation

TaskOption<Tuple3<A, A2, A3>> Function(TaskOption<Tuple2<A, A2>> o)
    flatMapTuple3<A, A2, A3>(
  TaskOption<A3> Function(Tuple2<A, A2> a) f,
) =>
        flatMap((a) => f(a).p(map((a3) => tuple3(a.first, a.second, a3))));