code: def emit(self, name=None, data=None):
          
          event = {
              'name': name or UNKNOWN_EVENT_TYPE,
              'timestamp': datetime.now(UTC),
              'data': data or {},
              'context': self.resolve_context()
          }
  
          self.routing_backend.send(event)
docs: Emit an event annotated with the UTC time when this function was called.
  
          `name` is a unique identification string for an event that has
              already been registered.
          `data` is a dictionary mapping field names to the value to include in the event.
              Note that all values provided must be serializable.