sequenceSeq<A> function

TaskOption<IList<A>> sequenceSeq<A>(
  1. Iterable<TaskOption<A>> tasks
)

Implementation

TaskOption<IList<A>> sequenceSeq<A>(
  Iterable<TaskOption<A>> tasks,
) =>
    TaskOption(
      T.sequenceSeq(tasks.map((_) => _._task)).p(T.map(O.traverse(identity))),
    );