WillDelTablesCallback
The WillDelTablesCallback type describes a function that is called before all Tables are deleted from the Store.
(): boolean| returns | boolean |
|
|---|
The callback takes no parameters. It returns true to allow the deletion, or false to prevent it.
Multiple WillDelTablesCallback functions can be registered and they will be called sequentially. If any callback returns false, the chain short-circuits and the Tables will not be deleted.
Since
v8.0.0