composablesys / collabs

Collabs library monorepo

Home Page:https://collabs.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load: support state-based merging

mweidner037 opened this issue · comments

Currently, CRDTs can only be loaded (CRuntime.load) at the beginning of a session, before sending/receiving any messages. It would be more convenient if we could load a savedState at any time, merging it like a state-based CRDT.

As an extension, we could allow saving only the delta over a previous state / vector clock, to help sync documents between online peers.