IMergeTreeDeltaCallbackArgs Interface
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
Parameter | Constraint | Default | Description |
---|---|---|---|
TOperationType | MergeTreeDeltaOperationTypes | MergeTreeDeltaOperationType |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
deltaSegments | Alpha |
readonly |
IMergeTreeSegmentDelta[] |
A list of deltas describing actions taken on segments. Deltas are not guaranteed to be in any particular order. |
operation | Alpha |
readonly |
TOperationType |
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.
To use, import via @fluidframework/merge-tree/alpha
.
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.
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly operation: TOperationType;
Type: TOperationType