Skip to main content
Module

x/automerge/index.ts>PatchCallback

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

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