Skip to main content
Module

x/automerge/index.ts>next.PatchCallback

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Latest
type alias next.PatchCallback
Re-export
import { type next } from "https://deno.land/x/automerge@2.2.2/index.ts";
const { PatchCallback } = next;

Callback which is called by various methods in this library to notify the user of what changes have been made.

definition: (patches: Array<Patch>, info: PatchInfo<T>) => void