rulvar API reference / @rulvar/core / TranscriptSerializationHook
Interface: TranscriptSerializationHook
Defined in: packages/core/src/l0/serialization.ts:35
Methods
fromStored()
ts
fromStored(ref, blob): Bytes;Defined in: packages/core/src/l0/serialization.ts:39
Applied at get; MUST be symmetric with toStored.
Parameters
| Parameter | Type |
|---|---|
ref | string |
blob | Bytes |
Returns
toStored()
ts
toStored(ref, blob): Bytes;Defined in: packages/core/src/l0/serialization.ts:37
Applied at put.
Parameters
| Parameter | Type |
|---|---|
ref | string |
blob | Bytes |