Skip to main content

InstrumentedDispatcherDeps

@forge/monorepo


@forge/monorepo / backend/src / InstrumentedDispatcherDeps

Type Alias: InstrumentedDispatcherDeps

InstrumentedDispatcherDeps = object

Defined in: backend/src/telemetry/instrument.ts:41

Properties

metrics?

readonly optional metrics?: RunMetrics

Defined in: backend/src/telemetry/instrument.ts:43


now?

readonly optional now?: () => number

Defined in: backend/src/telemetry/instrument.ts:45

Injected so a test can pin it; also what makes claim latency assertable without waiting.

Returns

number


telemetry

readonly telemetry: Telemetry

Defined in: backend/src/telemetry/instrument.ts:42