Skip to content

Commit

Permalink
feat: lock event callbacks
Browse files Browse the repository at this point in the history
Atomic lock types in util_types::sync::tokio now accept
an optional name and lock-event callback fn.

This enables the app to be notified of lock events and take appropriate
action, such as logging/tracing.

These features are optional and the API is backwards compatible
with code that does not need lock-event notifications.
  • Loading branch information
dan-da committed Jan 9, 2024
1 parent ae311e1 commit 2ce0378
Show file tree
Hide file tree
Showing 4 changed files with 673 additions and 60 deletions.
Loading

0 comments on commit 2ce0378

Please sign in to comment.