MCPcopy
hub / github.com/yjs/yjs / writeDocumentStateVector

Function writeDocumentStateVector

src/utils/encoding.js:595–595  ·  view source on GitHub ↗
(encoder, doc)

Source from the content-addressed store, hash-verified

593 * @function
594 */
595export const writeDocumentStateVector = (encoder, doc) => writeStateVector(encoder, getStateVector(doc.store))
596
597/**
598 * Encode State as Uint8Array.

Callers 1

encodeStateVectorV2Function · 0.85

Calls 2

getStateVectorFunction · 0.90
writeStateVectorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…