Skip to content

YjsEditorBridge

Defined in: yjs/src/editor.ts:28

readonly document: Doc

Defined in: yjs/src/editor.ts:30

Bind the editor to this private mirror, never directly to source.document.

destroy(): Promise<void>

Defined in: yjs/src/editor.ts:34

Detach listeners, finish queued writes, then destroy the editor mirror.

Promise<void>


flush(): Promise<void>

Defined in: yjs/src/editor.ts:32

Wait for queued writes; rejects on the first failed Peerborne mutation.

Promise<void>