code: def emit(self, action, event):
          
          NotificationManager.instance().emit(action, event, project_id=self.id)
docs: Send an event to all the client listening for notifications
  
          :param action: Action name
          :param event: Event to send