TinyBase logoTinyBase

SliceIdsListener

The SliceIdsListener type describes a function that is used to listen to changes to the Slice Ids in an Index.

(
  indexes: Indexes,
  indexId: Id,
): void
TypeDescription
indexesIndexes

A reference to the Indexes object that changed.

indexIdId

The Id of the Index that changed.

returnsvoid

This has no return value.

A SliceIdsListener is provided when using the addSliceIdsListener method. See that method for specific examples.

When called, a SliceIdsListener is given a reference to the Indexes object, and the Id of the Index that changed.

Since

v1.0.0