MCPcopy Create free account
hub / github.com/Effect-TS/effect / adjust

Method adjust

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

* Increments the current clock time by the specified duration. Any effects * that were scheduled to occur on or before the new time will be run in * order.

(duration: Duration.Input)

Source from the content-addressed store, hash-verified

98 * order.
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.

Callers 15

Client.test.tsFile · 0.80
suiteFunction · 0.80
Client.test.tsFile · 0.80
Metric.test.tsFile · 0.80
FiberSet.test.tsFile · 0.80
TestClock.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

suiteFunction · 0.64