code: def notify(self):
          
          if flask.has_request_context():
              emit(_NAME + str(self._uuid))
          else:
              sio = flask.current_app.extensions['socketio']
              sio.emit(_NAME + str(self._uuid))
          eventlet.sleep()
docs: Notify the client.
  
          The function passed to ``App.respond`` will get called.