Skip to main content
Version: v2

IDeltaManager Interface

Manages the transmission of ops between the runtime and storage.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-definitions/legacy.

For more information about our API support guarantees, see here.

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

Signature​

/** @sealed */
export interface IDeltaManager<T, U> extends IEventProvider<IDeltaManagerEvents>, IDeltaSender

Extends: IEventProvider<IDeltaManagerEvents>, IDeltaSender

Type Parameters​

ParameterDescription
T
U

Properties​

PropertyAlertsModifiersTypeDescription
activeBetareadonlybooleanFlag to indicate whether the client can write or not.
clientDetailsBetareadonlyIClientDetailsDetails of client
hasCheckpointSequenceNumberBetareadonlybooleanTells if current connection has checkpoint information. I.e. we know how far behind the client was at the time of establishing connection
inboundSignalBetareadonlyIDeltaQueue<ISignalMessage>The queue of inbound delta signals
initialSequenceNumberBetareadonlynumberThe initial sequence number set when attaching the op handler
lastKnownSeqNumberBetareadonlynumberThe latest sequence number the delta manager is aware of
lastMessageBetareadonlyISequencedDocumentMessage | undefinedThe last message processed by the delta manager
lastSequenceNumberBetareadonlynumberThe last sequence number processed by the delta manager
maxMessageSizeBetareadonlynumberMax message size allowed to the delta manager
minimumSequenceNumberBetareadonlynumberThe current minimum sequence number
readOnlyInfoBetareadonlyReadOnlyInfo
serviceConfigurationBetareadonlyIClientConfiguration | undefinedService configuration provided by the service.
versionBetareadonlystringProtocol version being used to communicate with the service

Methods​

MethodAlertsReturn TypeDescription
submitSignal(content, targetClientId)BetavoidSubmit a signal to the service to be broadcast to other connected clients, but not persisted

Property Details​

active​

Flag to indicate whether the client can write or not.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly active: boolean;

Type: boolean

clientDetails​

Details of client

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly clientDetails: IClientDetails;

Type: IClientDetails

hasCheckpointSequenceNumber​

Tells if current connection has checkpoint information. I.e. we know how far behind the client was at the time of establishing connection

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly hasCheckpointSequenceNumber: boolean;

Type: boolean

inboundSignal​

The queue of inbound delta signals

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly inboundSignal: IDeltaQueue<ISignalMessage>;

Type: IDeltaQueue<ISignalMessage>

initialSequenceNumber​

The initial sequence number set when attaching the op handler

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly initialSequenceNumber: number;

Type: number

lastKnownSeqNumber​

The latest sequence number the delta manager is aware of

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly lastKnownSeqNumber: number;

Type: number

lastMessage​

The last message processed by the delta manager

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly lastMessage: ISequencedDocumentMessage | undefined;

Type: ISequencedDocumentMessage | undefined

lastSequenceNumber​

The last sequence number processed by the delta manager

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly lastSequenceNumber: number;

Type: number

maxMessageSize​

Max message size allowed to the delta manager

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly maxMessageSize: number;

Type: number

minimumSequenceNumber​

The current minimum sequence number

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly minimumSequenceNumber: number;

Type: number

readOnlyInfo​

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly readOnlyInfo: ReadOnlyInfo;

Type: ReadOnlyInfo

serviceConfiguration​

Service configuration provided by the service.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly serviceConfiguration: IClientConfiguration | undefined;

Type: IClientConfiguration | undefined

version​

Protocol version being used to communicate with the service

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly version: string;

Type: string

Method Details​

submitSignal​

Submit a signal to the service to be broadcast to other connected clients, but not persisted

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

submitSignal(content: any, targetClientId?: string): void;

Parameters​

ParameterModifiersTypeDescription
contentany
targetClientIdoptionalstring