(durationInput: Duration.DurationInput)
| 516 | * @since 2.0.0 |
| 517 | */ |
| 518 | export const sleep = (durationInput: Duration.DurationInput): Effect.Effect<void> => { |
| 519 | const duration = Duration.decode(durationInput) |
| 520 | return testClockWith((testClock) => testClock.sleep(duration)) |
| 521 | } |
| 522 | |
| 523 | /** |
| 524 | * Accesses a `TestClock` instance in the context and returns a list of |
nothing calls this directly
no test coverage detected