class_docstr: Wrapper around an MPS event.
  
  MPS events are synchronization markers that can be used to monitor the
  device's progress, to accurately measure timing, and to synchronize MPS streams.
  
  Args:
      enable_timing (bool, optional): indicates if the event should measure time
          (default: ``False``)
docstr: Makes all future work submitted to the default stream wait for this event.
docstr_tok: ["Makes","all","future","work","submitted","to","the","default","stream","wait","for","this","event","."]
code: def wait(self):
      r"""Makes all future work submitted to the default stream wait for this event."""
      torch._C._mps_waitForEvent(self.__eventId)
  
file_path: pytorch/torch/mps/event.py
imports: import torch
label_desc: Use image node_id 4 for calling the Event obj's underlying member method code with example usage: obj.wait() without return types