effect-io-ai

Package: effect
Module: TestClock

TestClock.setTime

Accesses a TestClock instance in the context and sets the clock time to the specified Instant or Date, running any actions scheduled for on or before the new time in order.

Signature

declare const setTime: (input: DateTime.DateTime.Input) => Effect.Effect<void>

Source

Since v2.0.0