Documentation
    Preparing search index...

    Class Message

    Hierarchy (View Summary)

    Implements

    • SdsMessage
    Index

    Constructors

    • Parameters

      • messageId: string
      • channelId: string
      • senderId: string
      • causalHistory: HistoryEntry[]
      • OptionallamportTimestamp: bigint
      • OptionalbloomFilter: Uint8Array<ArrayBufferLike>
      • Optionalcontent: Uint8Array<ArrayBufferLike>
      • repairRequest: HistoryEntry[] = []
      • OptionalretrievalHint: Uint8Array<ArrayBufferLike>

        Not encoded, set after it is sent, used to include in follow-up messages

      Returns Message

    Properties

    bloomFilter?: Uint8Array<ArrayBufferLike>
    causalHistory: HistoryEntry[]
    channelId: string
    content?: Uint8Array<ArrayBufferLike>
    lamportTimestamp?: bigint
    messageId: string
    repairRequest: HistoryEntry[] = []
    retrievalHint?: Uint8Array<ArrayBufferLike>

    Not encoded, set after it is sent, used to include in follow-up messages

    senderId: string

    Methods