Threading
Module: pyot.utils.threading
class AsyncLock
AsyncLockAn asynchronous threading Lock. The event loop won't be blocked when acquiring the lock.
Definitions:
__aenter__->boolargs:None
__aexit__->Noneargs:None
__init__->None
Methods:
asyncmethod
acquire->boolAcquire the lock without locking the loop
method
release->NoneRelease the lock, this is not async because it is immediate and useful for hooks (e.g. registering
atexit)
Last updated