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

    Sent by a Repo to request a document from a peer.

    This is identical to a SyncMessage except that it is sent by a Repo as the initial sync message when asking the other peer if it has the document.

    type RequestMessage = {
        data: Uint8Array;
        documentId: DocumentId;
        senderId: PeerId;
        targetId: PeerId;
        type: "request";
    }
    Index

    Properties

    data: Uint8Array

    The automerge sync message

    documentId: DocumentId

    The document ID of the document this message is for

    senderId: PeerId
    targetId: PeerId
    type: "request"