Skip to main content

ReentrantLock

A reentrant lock implementation for asyncio using asyncio.Lock.

Index

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__(): None
  • Returns None

Page Options