@type {SendPacket} Send a custom packet
(t, p = [])
| 198 | |
| 199 | /** @type {SendPacket} Send a custom packet */ |
| 200 | send(t, p = []) { |
| 201 | this.#sendQueue.push(protocol.formatWSPacket({ m: t, p })); |
| 202 | this.sendQueue(); |
| 203 | } |
| 204 | |
| 205 | /** Send all waiting packets */ |
| 206 | sendQueue() { |
no test coverage detected