Emitted when this document has changed

interface DocHandleChangePayload<T> {
    doc: Doc<T>;
    handle: DocHandle<T>;
    patchInfo: PatchInfo<T>;
    patches: Patch[];
}

Type Parameters

  • T

Properties

doc: Doc<T>

The value of the document after the change

handle: DocHandle<T>

The handle that changed

patchInfo: PatchInfo<T>

Information about the change

patches: Patch[]

The patches representing the change that occurred