Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / TranscriptSerializationHook

Interface: TranscriptSerializationHook ​

Defined in: packages/core/src/l0/serialization.ts:48

Methods ​

fromStored() ​

ts
fromStored(ref, blob): Bytes;

Defined in: packages/core/src/l0/serialization.ts:52

Applied at get; MUST be symmetric with toStored.

Parameters ​

ParameterType
refstring
blobBytes

Returns ​

Bytes


toStored() ​

ts
toStored(ref, blob): Bytes;

Defined in: packages/core/src/l0/serialization.ts:50

Applied at put.

Parameters ​

ParameterType
refstring
blobBytes

Returns ​

Bytes