MCPcopy Create free account
hub / github.com/effect-app/libs / currentTimeNanosUnsafe

Method currentTimeNanosUnsafe

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

* Returns the current time in nanoseconds unsafely. * * **When to use** * * Use to read nanosecond time synchronously when you already have a `Clock` * service and can accept non-effectful access.

()

Source from the content-addressed store, hash-verified

64 */
65 currentTimeMillisUnsafe(): number
66 /**
67 * Returns the current Unix time in milliseconds.
68 *
69 * **When to use**

Callers 9

TestClock.test.tsFile · 0.65
Effect.tsFile · 0.65
makeWithTransactionFunction · 0.65
HttpMiddleware.tsFile · 0.65
makeLogRecordFunction · 0.65
snapshotFunction · 0.65
effect.tsFile · 0.65
convertOtelTimeInputFunction · 0.65
Logger.tsFile · 0.65

Implementers 1

ClockImplrepos/effect/packages/effect/src/inter

Calls

no outgoing calls

Tested by

no test coverage detected