Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/observability / / createReplay

Function: createReplay()

ts
function createReplay(opts?): Replay;

Defined in: packages/observability/src/replay/replay.ts:48

Build a replay primitive. The returned object exposes a single run(...) async iterator that yields ReplayEvent records.

Sanitized mode is the default and applies the configured RedactionValidatorInstance to every record. Raw mode requires the canReadRaw callback to return true AND emits an audit log entry on every invocation.

Parameters

ParameterType
optsReplayOptions

Returns

Replay

Stable