ZIO<R, E, A>.succeed constructor

ZIO<R, E, A>.succeed(
  1. A a
)

Create a ZIO that succeeds with a.

Implementation

factory ZIO.succeed(A a) => ZIO.fromEither(Either.right(a));