ReadonlyclientReadonlyconflictsReadonlydocReadonlypresenceReadonlyproviderReadonlyroomReadonlyundoReadonlywhenCapture a baseline state vector for later layer extraction.
Capture the doc's FULL state (Y.encodeStateAsUpdate) as the fork
point for whole-doc publishing (publishLayer's baseline). Distinct
from captureBaseline, which returns a state VECTOR for the per-user
extractUserLayer path.
Extract a per-user layer (defaults to this peer).
OptionalclientId: numberOptionalsnapshot: SnapshotOptionsSeed this session's Y.Doc from an IFCX file.
Optionaloptions: SeedOptionsSnapshot the current state to an IFCX object.
Optionaloptions: SnapshotOptionsLocal-origin undo via Y.UndoManager.
Resolves once both persistence and (if applicable) websocket sync have completed.