async_locks 3.3.1 copy "async_locks: ^3.3.1" to clipboard
async_locks: ^3.3.1 copied to clipboard

Synchronization primitives for asynchronous Dart code, inspired from Python

async-locks #

Synchronization primitives for asynchronous Dart code, inspired from Python.

The usage of these primitives is similar to those in Python although the implementation is slightly different.

With Event

Mutex lock to guarantee exclusive access to a shared state.

With Lock

Event object to notify multiple futures that an event has happened.

With Semaphore

Semaphore object which allows a number of futures to acquire it.

7
likes
0
pub points
85%
popularity

Publisher

verified publisherharuka39.me

Synchronization primitives for asynchronous Dart code, inspired from Python

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on async_locks