MCPcopy Create free account
hub / github.com/effect-app/libs / setTime

Method setTime

repos/effect/packages/effect/src/testing/TestClock.ts:101–101  ·  view source on GitHub ↗

* Sets the current clock time to the specified `timestamp`. Any effects that * were scheduled to occur on or before the new time will be run in order.

(timestamp: number)

Source from the content-addressed store, hash-verified

99 */
100 adjust(duration: Duration.Input): Effect.Effect<void>
101 /**
102 * Sets the current clock time to the specified `timestamp`. Any effects that
103 * were scheduled to occur on or before the new time will be run in order.
104 */

Callers 10

NodeCrypto.test.tsFile · 0.80
TestClock.test.tsFile · 0.80
DateTime.test.tsFile · 0.80
Crypto.test.tsFile · 0.80
Cache.test.tsFile · 0.80
Schedule.test.tsFile · 0.80
stepCronFunction · 0.80
dateTime.tsFile · 0.80
setTimeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected