Skip to content

ISortedListEvents

Type interface

Defines evends for SortedList.

Sources

ISortedListEvents is an interface: it describes a shape of data and is not imported on its own.

Properties

inserted

Type { index: number, newValue: A }

Invoked when new value is inserted into the list.

removed

Type { index: number, oldValue: A }

Invoked when a value is removed from the list.