SequenceEvent Interface
Base class for SequenceDeltaEvent and SequenceMaintenanceEvent.
The properties of this object and its sub-objects represent the state of the sequence at the point in time at which the operation was applied. They will not take into any future modifications performed to the underlying sequence and merge tree. \
This API is provided for existing users, but is not recommended for new users.
To use, import via fluid-framework/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface SequenceEvent<TOperation extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationTypes>
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
TOperation | MergeTreeDeltaOperationTypes | MergeTreeDeltaOperationTypes |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
clientId | Alpha |
readonly |
string | undefined | The client id of the client that made the change which caused the delta event |
deltaArgs | Alpha |
readonly |
IMergeTreeDeltaCallbackArgs<TOperation> | |
deltaOperation | Alpha |
readonly |
TOperation | |
first | Alpha |
readonly |
Readonly<ISequenceDeltaRange<TOperation>> | The first of the modified ranges. |
last | Alpha |
readonly |
Readonly<ISequenceDeltaRange<TOperation>> | The last of the modified ranges. |
ranges | Alpha |
readonly |
readonly Readonly<ISequenceDeltaRange<TOperation>>[] | The in-order ranges affected by this delta. These are not necessarily contiguous. |
Property Details
clientId
The client id of the client that made the change which caused the delta event
This API is provided for existing users, but is not recommended for new users.
For more information about our API support guarantees, see here.