HasSliceListener
The HasSliceListener type describes a function that is used to listen to Slices being added to or removed from an Index.
(
indexes: Indexes,
indexId: Id,
sliceId: Id,
hasSlice: boolean,
): void| Type | Description | |
|---|---|---|
indexes | Indexes | A reference to the |
indexId | Id | |
sliceId | Id | |
hasSlice | boolean | Whether the |
| returns | void | This has no return value. |
A HasSliceListener is provided when using the addHasSliceListener method. See that method for specific examples.
When called, a HasSliceListener is given a reference to the Indexes object, the Id of the Index that changed, the Id of the Slice that changed, and whether it now exists.
Since
v9.1.0