MCPcopy
hub / github.com/Effect-TS/effect / now

Method now

packages/effect/test/Effect/service.test.ts:90–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }) {
89 #now: Date | undefined
90 get now() {
91 return this.#now ||= new Date()
92 }
93 }
94 return Effect.gen(function*() {
95 const time = yield* Time.use((_) => _.now)

Callers 15

prompt.tsFile · 0.45
Metric.test.tsFile · 0.45
Schedule.test.tsFile · 0.45
checkDelaysFunction · 0.45
checkRepetitionsFunction · 0.45
FiberRefs.test.tsFile · 0.45
Micro.tsFile · 0.45
clock.tsFile · 0.45
withNowFunction · 0.45
unsafeMakeFunction · 0.45
reportExitValueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected