Map all components of a ZEnv individually.
Map the Clock.Service component of a ZEnv, keeping all other services the same.
Map the Clock.Service component of a ZEnv, keeping all other services the same.
Use this with ZIO#provideSome for maximum effect.
clock.sleep(1.second).provideSome(ZEnv.mapClock(oldClock => ???))
Map the Console.Service component of a ZEnv, keeping all other services the same.
Map the Random.Service component of a ZEnv, keeping all other services the same.
Map the System.Service component of a ZEnv, keeping all other services the same.