env<R> static method

RIO<R, R> env<R>()

Retrieve the current environment of the ZIO.

Implementation

static RIO<R, R> env<R>() => ZIO.from((ctx) => Either.right(ctx.env));