sequenceList<E, A> static method
- List<
TaskEither< listE, A> >
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);