code: def _event_for(self, elts):
          
          event = Event()
          event.canceller = self._canceller_for(elts, event)
          return event
docs: Creates an Event that is set when the bundle with elts is sent.