#async-task #name #run #lock #dashmap #in-memory #lockers

name_locker

This crate provides interface for asynchronous name lockers, that can run an async task with lock on a given name

2 releases

0.1.1 Sep 28, 2023
0.1.0 Sep 28, 2023

#2144 in Asynchronous


Used in 5 crates (2 directly)

MIT/Apache

11KB
190 lines

This crate defines trait for asynchronous name lockers, that can run an async task with advisory-lock on a given name.

It also provides a default inmemory implementation using dashmap.

Dependencies

~0.6–6.5MB
~41K SLoC