Functions

recordingPutInput

Function: recordingPutInput()

recordingPutInput(recording, facts?): PutArtifactInput

Defined in: src/artifacts/recordingArtifact.ts:91

Turn one finished recording into the put input that stores it.

Pure: no store, no events, no agent. The caller owns WHEN this happens (after the answer is composed) and what to do when it fails.

Parameters

recording

unknown

facts?

RecordingMintFacts = {}

Returns

PutArtifactInput

Throws

UnserializableRecordingError when the recording cannot be JSON-serialized — a cyclic object in a snapshot, most likely.

On this page