ISharedSegmentSequenceEvents Interface

Packages > fluid-framework > ISharedSegmentSequenceEvents

Events emitted in response to changes to the sequence data.

“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.

Signature:

export interface ISharedSegmentSequenceEvents extends ISharedObjectEvents 

Extends: