Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pywebio/PyWebIO
/ on_session_close
Method
on_session_close
webiojs/src/session.ts:204–206 ·
view source on GitHub ↗
(callback: () => void)
Source
from the content-addressed store, hash-verified
202
}
203
204
on_session_close(callback: () => void): void {
205
this._session_close_callbacks.push(callback);
206
}
207
208
on_server_message(callback: (msg: Command) => void): void {
209
this._on_server_message = callback;
Callers
nothing calls this directly
Calls
1
push
Method · 0.80
Tested by
no test coverage detected