Skip to main content

IMergeTreeDeltaCallbackArgs 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 IMergeTreeDeltaCallbackArgs<TOperationType extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationType>

Type Parameters

ParameterConstraintDefaultDescription
TOperationTypeMergeTreeDeltaOperationTypesMergeTreeDeltaOperationType

Properties

PropertyAlertsModifiersTypeDescription
deltaSegmentsBetareadonlyIMergeTreeSegmentDelta[]

A list of deltas describing actions taken on segments.

Deltas are not guaranteed to be in any particular order.

operationBetareadonlyTOperationType

The type of operation that affected segments in the merge-tree. The affected segments can be accessed via deltaSegments.

See MergeTreeDeltaOperationType and MergeTreeMaintenanceType for possible values.

Property Details

deltaSegments

A list of deltas describing actions taken on segments.

Deltas are not guaranteed to be in any particular order.

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 deltaSegments: IMergeTreeSegmentDelta[];

Type: IMergeTreeSegmentDelta[]

operation

The type of operation that affected segments in the merge-tree. The affected segments can be accessed via deltaSegments.

See MergeTreeDeltaOperationType and MergeTreeMaintenanceType for possible values.

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 operation: TOperationType;

Type: TOperationType