(f: (clock: Clock.Clock) => Effect.Effect<A, E, R>)
| 54 | |
| 55 | /** @internal */ |
| 56 | export const clockWith = <A, E, R>(f: (clock: Clock.Clock) => Effect.Effect<A, E, R>): Effect.Effect<A, E, R> => |
| 57 | defaultServicesWith((services) => f(services.unsafeMap.get(clock.clockTag.key))) |
| 58 | |
| 59 | /** @internal */ |
| 60 | export const currentTimeMillis: Effect.Effect<number> = clockWith((clock) => clock.currentTimeMillis) |
no test coverage detected