но List[ZIO[R, E, A]] => ZIO[R, List[E], List[A]]?
/** * Feeds elements of type `A` to a function `f` that returns an effect. * Collects all successes and failures in a tupled fashion. */ def partition[R, E, A, B]( in: Iterable[A] )(f: A => ZIO[R, E, B])(implicit ev: CanFail[E]): ZIO[R, Nothing, (Iterable[E], Iterable[B])] = ??? ZIO.partition ?
Обсуждают сегодня