class_docstr: Sleep strategy that waits on an event to be set.
class_docstr_tok: ["Sleep","strategy","that","waits","on","an","event","to","be","set","."]
code: def __call__(self, timeout):
      # NOTE(harlowja): this may *not* actually wait for timeout
      # seconds if the event is set (ie this may eject out early).
      self.event.wait(timeout=timeout)
  
imports: import time
label_desc: Use image node_id 2 for calling the sleep_using_event obj's underlying member method code with example usage: obj.__call__(timeout) without return types