public async Task EmitAsync(string eventName, Action <SocketIOResponse> ack, params object[] data)
        {
            Acks.Add(++PacketId, ack);
            string dataString = GetDataString(data);

            await EmityCoreAsync(eventName, PacketId, dataString);
        }
Beispiel #2
0
 public async Task EmitAsync(string eventName, Action <SocketIOResponse> ack, params object[] data)
 {
     Acks.Add(PacketId + 1, ack);
     await EmitAsync(eventName, data);
 }