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

Method currentTimeMillisUnsafe

packages/effect/src/internal/effect.ts:5993–5995  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5991
5992class ClockImpl implements Clock.Clock {
5993 currentTimeMillisUnsafe(): number {
5994 return Date.now()
5995 }
5996 readonly currentTimeMillis: Effect.Effect<number> = sync(() => this.currentTimeMillisUnsafe())
5997 currentTimeNanosUnsafe(): bigint {
5998 return wallTimeNanos()

Callers 1

ClockImplClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected