Emitted when a document has changed

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

Type Parameters

  • T


doc: Doc<T>

The value of the document after the change

handle: DocHandle<T>

The hande which changed

patchInfo: PatchInfo<T>

Information about the change

patches: Patch[]

The patches representing the change that occurred

Generated using TypeDoc