runtime<R, E> static method

ZIO<R, E, Runtime> runtime<R, E>()

Access the current Runtime.

Implementation

static ZIO<R, E, Runtime> runtime<R, E>() => ZIO
    .from((ctx) => Either.right(ctx.runtime.mergeLayerContext(ctx.layers)));