Documentation / @etherfold/processor-entities / StateSnapshot
Type Alias: StateSnapshot ​
StateSnapshot =
object
Defined in: packages/state-store/dist/snapshot-document.d.ts:155
A produced snapshot, whole: its head, and its document as gzipped bytes.
What createSnapshot (@etherfold/processor-entities) hands back, and what a mirror serves: document at its URL, head at its optional head URL.
Properties ​
document ​
readonlydocument:Uint8Array<ArrayBuffer>
Defined in: packages/state-store/dist/snapshot-document.d.ts:158
Backed by a plain ArrayBuffer, so it is a BodyInit a mirror can serve as it is.
head ​
readonlyhead:SnapshotHead
Defined in: packages/state-store/dist/snapshot-document.d.ts:156