ISharedSegmentSequenceEvents Interface
Events emitted in response to changes to the sequence data.
To use, import via fluid-framework/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface ISharedSegmentSequenceEvents extends ISharedObjectEvents
Extends: ISharedObjectEvents
Remarks
The following is the list of events emitted.
### "sequenceDelta"
The sequenceDelta event is emitted when segments are inserted, annotated, or removed.
#### Listener signature
(event: SequenceDeltaEvent, target: IEventThisPlaceHolder) => void
-
event
- Various information on the segments that were modified. -
target
- The sequence itself.
### "maintenance"
The maintenance event is emitted when segments are modified during merge-tree maintenance.
#### Listener signature
(event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void
-
event
- Various information on the segments that were modified. -
target
- The sequence itself.
Call Signatures
Call Signature Details
(event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): void
To use, import via fluid-framework/alpha
.
For more information about our API support guarantees, see here.
Signature
(event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): void;
(event: "sequenceDelta", listener: (event: SequenceDeltaEvent, target: IEventThisPlaceHolder) => void): void
To use, import via fluid-framework/alpha
.
For more information about our API support guarantees, see here.
Signature
(event: "sequenceDelta", listener: (event: SequenceDeltaEvent, target: IEventThisPlaceHolder) => void): void;
(event: "maintenance", listener: (event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void): void
To use, import via fluid-framework/alpha
.
For more information about our API support guarantees, see here.
Signature
(event: "maintenance", listener: (event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void): void;