async_locks library

Synchronization Primitives

See https://docs.python.org/3.9/library/asyncio-sync.html for documentation and https://github.com/python/cpython/blob/3.9/Lib/asyncio/locks.py for original implementation.

Classes

Event
An event object to notify multiple futures that an event has happened.
Lock
Mutex lock to guarantee exclusive access to a shared state.