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:83–85 ·
view source on GitHub ↗
(callback: () => any)
Source
from the content-addressed store, hash-verified
81
};
82
83
on_session_close(callback: () => any): void {
84
this._session_close_callbacks.push(callback);
85
}
86
87
on_server_message(callback: (msg: Command) => any): void {
88
this._on_server_message = callback;
Callers
nothing calls this directly
Calls
1
push
Method · 0.80
Tested by
no test coverage detected