IDocumentMessage Interface
Document-specific message.
To use, import via @fluidframework/driver-definitions/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface IDocumentMessage
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
clientSequenceNumber | Alpha |
number | The document's client sequence number. | |
compression | Alpha |
optional |
string | The compression algorithm that was used to compress contents of this message. Not ready for use |
contents | Alpha |
unknown | The contents of the message. | |
metadata | Alpha |
optional |
unknown | App provided metadata about the operation. |
referenceSequenceNumber | Alpha |
number | The reference sequence number the message was sent relative to. | |
serverMetadata | Alpha |
optional |
unknown | Server provided metadata about the operation. |
traces | Alpha |
optional |
ITrace[] | Traces related to the packet. |
type | Alpha |
string | The type of document message being sent. |
Property Details
clientSequenceNumber
The document's client sequence number.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
clientSequenceNumber: number;
Type: number
compression
The compression algorithm that was used to compress contents of this message. Not ready for use
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
compression?: string;
Type: string
contents
The contents of the message.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
contents: unknown;
Type: unknown
metadata
App provided metadata about the operation.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
metadata?: unknown;
Type: unknown
referenceSequenceNumber
The reference sequence number the message was sent relative to.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
referenceSequenceNumber: number;
Type: number
serverMetadata
Server provided metadata about the operation.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
serverMetadata?: unknown;
Type: unknown
traces
Traces related to the packet.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
traces?: ITrace[];
Type: ITrace[]
type
The type of document message being sent.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
type: string;
Type: string