import { load } from "https://deno.land/x/automerge@2.2.2/index.ts";
Load an automerge document from a compressed document produce by save
Parameters
optional
_opts: ActorId | InitOptions<T>- Either an actor ID or some InitOptions, if the actor ID is null a random actor ID will be created
Note that load
will throw an error if passed incomplete content (for
example if you are receiving content over the network and don't know if you
have the complete document yet). If you need to handle incomplete content use
init followed by loadIncremental.