import { loadIncremental } from "https://deno.land/x/automerge@2.2.0/stable.ts";
Load changes produced by saveIncremental, or partial changes
Parameters
- an ApplyOptions
This function is useful when staying up to date with a connected peer. Perhaps the other end sent you a full compresed document which you loaded with load and they're sending you the result of getLastLocalChange every time they make a change.
Note that this function will succesfully load the results of save as well as getLastLocalChange or any other incremental change.
optional
opts: ApplyOptions<T>