On this pageReentrantLock A reentrant lock implementation for asyncio using asyncio.Lock.Index Methods__call____init__Methods __call__async __call__(): AsyncIterator[None]Acquire the lock if it's not already owned by the current task, otherwise proceed without acquiring.Returns AsyncIterator[None]__init__ __init__(): NoneReturns None
A reentrant lock implementation for asyncio using asyncio.Lock.