(self, event, data=None, to=None, room=None, skip_sid=None,
                   namespace=None, callback=None)
return await self.server.emit(event, data=data, to=to, room=room,
                                      skip_sid=skip_sid,
                                      namespace=namespace or self.namespace,
                                      callback=callback)
Emit a custom event to one or more connected clients.

        The only difference with the :func:`socketio.Server.emit` method is
        that when the ``namespace`` argument is not given the namespace
        associated with the class is used.

        Note: this method is a coroutine.
Emit a custom event to one or more connected clients.
Emit a custom event to one or more connected clients .
async def emit(self, event, data=None, to=None, room=None, skip_sid=None,
                   namespace=None, callback=None):
        """Emit a custom event to one or more connected clients.

        The only difference with the :func:`socketio.Server.emit` method is
        that when the ``namespace`` argument is not given the namespace
        associated with the class is used.

        Note: this method is a coroutine.
        """
        return await self.server.emit(event, data=data, to=to, room=room,
                                      skip_sid=skip_sid,
                                      namespace=namespace or self.namespace,
                                      callback=callback)
async def emit ( self , event , data = None , to = None , room = None , skip_sid = None , namespace = None , callback = None ) : return await self . server . emit ( event , data = data , to = to , room = room , skip_sid = skip_sid , namespace = namespace or self . namespace , callback = callback )