Skip to main content
Module

x/automerge/index.ts>changeAt

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

Make a change to the document as it was at a particular point in history

Parameters

doc: Doc<T>
  • The document to update
scope: Heads
  • The heads representing the point in history to make the change
options: string | ChangeOptions<T> | ChangeFn<T>
optional
callback: ChangeFn<T>
  • A ChangeFn to be used if options was a string