Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.ts
File · 0.45
Metric.test.ts
File · 0.45
Schedule.test.ts
File · 0.45
checkDelays
Function · 0.45
checkRepetitions
Function · 0.45
FiberRefs.test.ts
File · 0.45
Micro.ts
File · 0.45
clock.ts
File · 0.45
unsafeCurrentTimeMillis
Method · 0.45
withNow
Function · 0.45
unsafeMake
Function · 0.45
reportExitValue
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected