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); }
public async Task EmitAsync(string eventName, Action <SocketIOResponse> ack, params object[] data) { Acks.Add(PacketId + 1, ack); await EmitAsync(eventName, data); }