Skip to main content
Module

x/automerge/next.ts>updateSpans

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

Update the spans at the given path

Parameters

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