class_docstr: Used by as_completed().
class_docstr_tok: ["Used","by","as_completed","(",")","."]
code: def add_result(self, future):
      with self.lock:
          super(_AsCompletedWaiter, self).add_result(future)
          self.event.set()
  
imports: import collections
  import logging
  import threading
  import time
  import types
label_desc: Use image node_id 2 for calling the _AsCompletedWaiter obj's underlying member method code with example usage: obj.add_result(future) without return types