Home > @i2analyze/notebook-sdk > toolview > VolatileStoreChangeListener
toolview.VolatileStoreChangeListener type
A callback function that handles change events in the volatile store.
Signature:
type VolatileStoreChangeListener = (key: string | null) => void;
Introduced: version 1.0
Parameters
| Parameter | Description |
|---|---|
| key | The key that was affected by the change, or null if the store was cleared. |
Remarks
The application calls registered listeners when keys are added to, modified in, or deleted from the volatile store. If the whole store is cleared, the application calls each listener once with a null parameter.