sequenceList<E, A> static method

TaskEither<E, List<A>> sequenceList<E, A>(
  1. List<TaskEither<E, A>> list
)

Convert a List<TaskEither<E, A>> to a single TaskEither<E, List<A>>.

Each TaskEither will be executed in parallel.

If you need TaskEither to be executed in sequence, use sequenceListSeq.

Implementation

static TaskEither<E, List<A>> sequenceList<E, A>(
  List<TaskEither<E, A>> list,
) =>
    traverseList(list, identity);