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

Method change_pull_interval

webiojs/src/session.ts:341–347  ·  view source on GitHub ↗
(new_interval: number)

Source from the content-addressed store, hash-verified

339 }
340
341 change_pull_interval(new_interval: number): void {
342 clearInterval(this.interval_pull_id);
343 this.pull_interval_ms = new_interval;
344 this.interval_pull_id = setInterval(() => {
345 this.pull()
346 }, this.pull_interval_ms);
347 }
348}
349
350/*

Callers 1

handle_messageMethod · 0.80

Calls 1

pullMethod · 0.95

Tested by

no test coverage detected