MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / setGlobalClock

Method setGlobalClock

packages/core/src/v3/clock/index.ts:22–24  ·  view source on GitHub ↗
(clock: Clock)

Source from the content-addressed store, hash-verified

20 }
21
22 public setGlobalClock(clock: Clock): boolean {
23 return registerGlobal(API_NAME, clock);
24 }
25
26 public preciseNow(): ClockTime {
27 return this.#getClock().preciseNow();

Callers 2

worker-facade.tsFile · 0.80
worker-facade.tsFile · 0.80

Calls 1

registerGlobalFunction · 0.90

Tested by

no test coverage detected