We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c08c5d commit b83f89cCopy full SHA for b83f89c
lib/socket.ts
@@ -38,13 +38,14 @@ export class Socket extends Emitter {
38
public connected: boolean;
39
public disconnected: boolean;
40
41
+ public receiveBuffer: Array<ReadonlyArray<any>> = [];
42
+ public sendBuffer: Array<Packet> = [];
43
+
44
private readonly nsp: string;
45
private readonly auth: object | ((cb: (data: object) => void) => void);
46
47
private ids: number = 0;
48
private acks: object = {};
- private receiveBuffer: Array<ReadonlyArray<any>> = [];
- private sendBuffer: Array<Packet> = [];
49
private flags: Flags = {};
50
private subs?: Array<VoidFunction>;
51
private _anyListeners: Array<(...args: any[]) => void>;
0 commit comments