ZIO<R, E, A>.succeed constructor
ZIO<R, E, A>.succeed (
- A a
Create a ZIO that succeeds with a
.
Implementation
factory ZIO.succeed(A a) => ZIO.fromEither(Either.right(a));
Create a ZIO that succeeds with a
.
factory ZIO.succeed(A a) => ZIO.fromEither(Either.right(a));