provideService<E, A> method

ZIO<R, E, Unit> provideService<E, A>(
  1. Layer<dynamic, A> layer,
  2. A service
)

Implementation

ZIO<R, E, Unit> provideService<E, A>(Layer<dynamic, A> layer, A service) =>
    ZIO(() {
      layers._unsafeAddService(layer, service);
      return unit;
    });