MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / interval_send

Method interval_send

webiojs/src/utils.ts:255–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 1

do_sendMethod · 0.95

Tested by

no test coverage detected