UNPKG

@unified-llm/core

Version:

Unified LLM interface (in-memory).

13 lines 445 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDefaultClock = createDefaultClock; function createDefaultClock() { const p = globalThis.performance; const hasPerfNow = p && typeof p.now === "function"; const nowMs = hasPerfNow ? () => p.now() : () => Date.now(); const nowEpochMs = () => Date.now(); return { nowMs, nowEpochMs }; } //# sourceMappingURL=timing.js.map