Skip to content

Announcing on_prune

Compare
Choose a tag to compare
@wyhaines wyhaines released this 06 Dec 21:23
· 8 commits to main since this release

This adds support for an on_prune callback that, if defined, is invoked every time a key/value is pruned from the tree. This allows for sophisticated accounting and handling of pruned resources in situations where it is helpful for the code to know what got removed from the tree.