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

Method start_session

webiojs/src/session.ts:212–219  ·  view source on GitHub ↗
(debug: boolean = false)

Source from the content-addressed store, hash-verified

210 }
211
212 start_session(debug: boolean = false): void {
213 this.debug = debug;
214 this.webio_session_id = "NEW-" + randomid(24);
215 this.pull();
216 this.interval_pull_id = setInterval(() => {
217 this.pull()
218 }, this.pull_interval_ms);
219 }
220
221 pull() {
222 let that = this;

Callers

nothing calls this directly

Calls 2

pullMethod · 0.95
randomidFunction · 0.90

Tested by

no test coverage detected