async_locks 3.3.2 icon indicating copy to clipboard operation
async_locks: ^3.3.2 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.

3
likes
140
pub points
59%
popularity

Publisher

unverified uploader

Synchronization primitives for asynchronous Dart code, inspired from Python

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.GPL-3.0 (LICENSE)

More

Packages that depend on async_locks