()
| 253 | } |
| 254 | |
| 255 | private interval_send() { |
| 256 | if (this._stop || this.ignore_interval_send) return; |
| 257 | if (Date.now() - this.last_send_time < this.min_send_interval) return; |
| 258 | this.do_send(); |
| 259 | } |
| 260 | |
| 261 | // seq for each ack call must be larger than the previous one, otherwise the ack will be ignored |
| 262 | ack(seq: number) { |