(input: DateTime.DateTime.Input)
| 500 | * @since 2.0.0 |
| 501 | */ |
| 502 | export const setTime = (input: DateTime.DateTime.Input): Effect.Effect<void> => |
| 503 | testClockWith((testClock) => |
| 504 | testClock.setTime( |
| 505 | typeof input === "number" |
| 506 | ? input |
| 507 | : DateTime.unsafeMake(input).epochMillis |
| 508 | ) |
| 509 | ) |
| 510 | |
| 511 | /** |
| 512 | * Semantically blocks the current fiber until the clock time is equal to or |
nothing calls this directly
no test coverage detected