code: def events(self) -> Iterable[Tuple[Optional[float], Callable, Sequence[Any], Mapping[str, Any]]]:
          
          return (
              (event.timestamp, event.fn, event.args, event.kwargs)
              for event in self._events
              if not event.is_cancelled
          )
docs: Iterates over scheduled events. Each event is a 4-tuple composed of the moment (on the simulated clock) the
          event should execute, the function corresponding to the event, its positional parameters (as a tuple of
          arbitrary length), and its keyword parameters (as a dictionary).