Skip to main content
Module

x/automerge/index.ts>next.updateSpans

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

Update the spans at the given path

Parameters

doc: Doc<T>
path: stable.Prop[]
newSpans: Span[]