class_docstr: Used by as_completed().
class_docstr_tok: ["Used","by","as_completed","(",")","."]
code: def __init__(self):
      super(_AsCompletedWaiter, self).__init__()
      self.lock = threading.Lock()
  
imports: import collections
  import logging
  import threading
  import time
  import types
label_desc: Use image node_id 1 to create a new _AsCompletedWaiter object from inherited base classes: _Waiter with example: obj = _AsCompletedWaiter()