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

x/automerge/index.ts>initSyncState

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

Create a new, blank SyncState

When communicating with a peer for the first time use this to generate a new SyncState for them