property SecretsServiceOptions.clock

Monotonic clock in milliseconds (e.g. runtime.hrtime). Defaults to a monotonic performance.now-free stub returning 0, which — combined with a non-zero TTL — still caches within a request but never mixes wall-clock.

Type

() => number

Usage

import { type SecretsServiceOptions } from "secrets-plugin/src/index.ts";