ReadonlyclientReadonlyconflictsReadonlydisposedReadonlydocReadonlypresenceReadonlyproviderReadonlyroomReadonlyundoReadonlywhenResolves once both persistence and (if applicable) websocket sync have
completed. Rejects with CollabSessionDisposedError if the session is
disposed first.
Capture 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.
Tear down providers, presence, undo and conflicts. Idempotent.
Extract a per-user layer (defaults to this peer).
OptionalclientId: numberOptionalsnapshot: SnapshotOptionsRun listener once when the session is disposed (immediately if it
already is). Returns an unsubscribe.
Seed this session's Y.Doc from an IFCX file. Throws once disposed.
Optionaloptions: SeedOptionsSnapshot the current state to an IFCX object.
Optionaloptions: SnapshotOptionsLocal-origin undo via Y.UndoManager.
True once
dispose()has run.