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

Method unsafeCurrentTimeNanos

packages/effect/src/Clock.ts:42–42  ·  view source on GitHub ↗

* Unsafely returns the current time in nanoseconds.

()

Source from the content-addressed store, hash-verified

40 * Unsafely returns the current time in nanoseconds.
41 */
42 unsafeCurrentTimeNanos(): bigint
43 /**
44 * Returns the current time in nanoseconds.
45 */

Callers 8

makeWithTransactionFunction · 0.65
TestClock.test.tsFile · 0.65
core-effect.tsFile · 0.65
metric.tsFile · 0.65
fiberRuntime.tsFile · 0.65
OtlpMetrics.tsFile · 0.65
snapshotFunction · 0.65
convertOtelTimeInputFunction · 0.65

Implementers 2

TestClockImplpackages/effect/src/TestClock.ts
ClockImplpackages/effect/src/internal/clock.ts

Calls

no outgoing calls

Tested by

no test coverage detected