class_docstr: Asynchronous equivalent to threading.Condition.
  
  This class implements condition variable objects. A condition variable
  allows one or more coroutines to wait until they are notified by another
  coroutine.
  
  A new Lock object is created and used as the underlying lock.
class_docstr_tok: ["Asynchronous","equivalent","to","threading.Condition",".","This","class","implements","condition","variable","objects",".","A","condition","variable","allows","one","or","more","coroutines","to","wait","until","they","are","notified","by","another","coroutine",".","A","new","Lock","object","is","created","and","used","as","the","underlying","lock","."]
code: def __init__(self, lock=None):
      if lock is None:
          lock = Lock()
  
      self._lock = lock
      # Export the lock's locked(), acquire() and release() methods.
      self.locked = lock.locked
      self.acquire = lock.acquire
      self.release = lock.release
  
      self._waiters = collections.deque()
  
imports: import collections
  import enum
  from .None import exceptions
  from .None import mixins
label_desc: Use image node_id 1 to create a new Condition object from inherited base classes: _ContextManagerMixin, mixins with example: obj = Condition(lock)