Skip to main content
Module

x/automerge/next.ts>updateBlock

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

Update the block marker at the given index

Parameters

doc: Doc<T>
path: stable.Prop[]
index: number | Cursor
block: { [key: string]: MaterializeValue; }