collect<R, E, A> static method

ZIO<R, E, IList<A>> collect<R, E, A>(
  1. Iterable<ZIO<R, E, A>> zios
)

Runs the given zios in sequence, collecting the results.

Implementation

static ZIO<R, E, IList<A>> collect<R, E, A>(Iterable<ZIO<R, E, A>> zios) =>
    ZIO.traverseIterable<R, E, ZIO<R, E, A>, A>(
      zios,
      identity,
    );