sequenceTaskOptionSeq method

TaskOption<List<T>> sequenceTaskOptionSeq()

Convert a List<TaskOption<A>> to a single TaskOption<List<A>>.

Each TaskOption will be executed in sequence.

If you need TaskOption to be executed in parallel, use sequenceList.

Implementation

TaskOption<List<T>> sequenceTaskOptionSeq() =>
    TaskOption.sequenceListSeq(toList());