Skip to main content

IMergeTreeDeltaOpArgs Interface

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

To use, import via @fluidframework/merge-tree/legacy.

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

Signature

export interface IMergeTreeDeltaOpArgs

Properties

PropertyAlertsModifiersTypeDescription
groupOpBetaoptional, readonlyIMergeTreeGroupMsgThe group op which contains the operation if there operation is part of a group op.
opBetareadonlyIMergeTreeOpThe IMergeTreeOp corresponding to the delta.
rollbackBetaoptional, readonlytrueSet to true if this delta is being performed as part of a rollback of unsent local changes.
sequencedMessageBetaoptional, readonlyISequencedDocumentMessage

The @fluidframework/protocol-definitions#ISequencedDocumentMessage corresponding to this acknowledged change.

This field is omitted for deltas corresponding to unacknowledged changes.

Property Details

groupOp

The group op which contains the operation if there operation is part of a group op.

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 groupOp?: IMergeTreeGroupMsg;

Type: IMergeTreeGroupMsg

op

The IMergeTreeOp corresponding to the delta.

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 op: IMergeTreeOp;

Type: IMergeTreeOp

Remarks

This is useful for determining the type of change (see MergeTreeDeltaType).

rollback

Set to true if this delta is being performed as part of a rollback of unsent local changes.

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 rollback?: true;

Type: true

sequencedMessage

The @fluidframework/protocol-definitions#ISequencedDocumentMessage corresponding to this acknowledged change.

This field is omitted for deltas corresponding to unacknowledged changes.

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 sequencedMessage?: ISequencedDocumentMessage;

Type: ISequencedDocumentMessage