Removing binary call because missing typescript def

This commit is contained in:
David Négrier 2020-09-18 18:18:39 +02:00
parent b148ca3708
commit 57545a96a5

View file

@ -59,7 +59,7 @@ function emitInBatch(socket: ExSocketInterface, event: string, payload: SubMessa
if (socket.batchTimeout === null) {
socket.batchTimeout = setTimeout(() => {
socket.binary(true).emit(SocketIoEvent.BATCH, socket.batchedMessages.serializeBinary().buffer);
socket./*binary(true).*/emit(SocketIoEvent.BATCH, socket.batchedMessages.serializeBinary().buffer);
socket.batchedMessages = new BatchMessage();
socket.batchTimeout = null;
}, 100);