@automerge/automerge - v3.1.1
    Preparing search index...

    Type Alias InitOptions<T>

    Options to be passed to init or load

    type InitOptions<T> = {
        actor?: ActorId;
        allowMissingChanges?: boolean;
        freeze?: boolean;
        patchCallback?: PatchCallback<T>;
    }

    Type Parameters

    • T

      The type of the value the document contains

    Index

    Properties

    actor?: ActorId

    The actor ID to use for this document, a random one will be generated if null is passed

    allowMissingChanges?: boolean

    Allow loading a document with missing changes

    freeze?: boolean
    patchCallback?: PatchCallback<T>

    A callback which will be called with the initial patch once the document has finished loading