accessWithZIO<R, A> method

ZIO<R, E, A> accessWithZIO<R, A>(
  1. ZIO<R, E, A> f(
    1. Service _
    )
)

Implementation

ZIO<R, E, A> accessWithZIO<R, A>(ZIO<R, E, A> Function(Service _) f) =>
    ZIO<R, E, Service>.layer(this).flatMap(f);