package
1.0.0-rc.3
Repository: https://github.com/iotaledger/hive.go.git
Documentation: pkg.go.dev

# Functions

NewOnChangeMap creates a new OnChangeMap.
WithChangedCallback is triggered when something in the OnChangeMap is changed (added/modified/deleted).
WithItemAddedCallback is triggered when a new item is added.
WithItemDeletedCallback is triggered when an item is deleted.
WithItemModifiedCallback is triggered when an item is modified.

# Structs

OnChangeMap is a map that executes callbacks if the map or an item is modified, in case callbackEnabled is true.

# Interfaces

Item represents an item in the OnChangeMap.