Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/automerge/next_types.ts>PatchCallback

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Latest
type alias PatchCallback
import { type PatchCallback } from "https://deno.land/x/automerge@2.2.2/next_types.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