Automerge Repo - v2.3.0-alpha.0
    Preparing search index...

    Options passed to change, and emptyChange

    type ChangeOptions<T> = {
        message?: string;
        patchCallback?: Automerge.PatchCallback<T>;
        time?: number;
    }

    Type Parameters

    • T

      The type of value contained in the document

    Index

    Properties

    message?: string

    A message which describes the changes

    patchCallback?: Automerge.PatchCallback<T>

    A callback which will be called to notify the caller of any changes to the document

    time?: number

    The unix timestamp (in seconds) of the change (purely advisory, not used in conflict resolution). When omitted it defaults to the current timestamp. When set to undefined no timestamp is used.