MCPcopy Index your code
hub / github.com/Effect-TS/effect / setTime

Method setTime

packages/effect/src/TestClock.ts:185–187  ·  view source on GitHub ↗

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

(instant: number)

Source from the content-addressed store, hash-verified

183 * were scheduled to occur on or before the new time will be run in order.
184 */
185 setTime(instant: number): Effect.Effect<void> {
186 return core.zipRight(this.warningDone(), this.run(() => instant))
187 }
188 /**
189 * Semantically blocks the current fiber until the clock time is equal to or
190 * greater than the specified duration. Once the clock time is adjusted to

Callers

nothing calls this directly

Calls 2

warningDoneMethod · 0.95
runMethod · 0.95

Tested by

no test coverage detected