Closed egao1980 closed 2 weeks ago
Adding on_clear handlers.
on_clear
Table and GlobalTable share implementation that runs on_key_del handler for each key currently stored in the table before cleaning the dictionary.
on_key_del
ChangeloggedSet is using existing OPERATION_UPDATE event with current values as a removed values set.
OPERATION_UPDATE
Fixes #601
Description
Adding
on_clear
handlers.Table and GlobalTable share implementation that runs
on_key_del
handler for each key currently stored in the table before cleaning the dictionary.ChangeloggedSet is using existing
OPERATION_UPDATE
event with current values as a removed values set.Fixes #601