Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrairieLearn/PrairieLearn
/ onclose
Function
onclose
public/javascripts/socket.io.js:4179–4181 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4177
4178
// When the socket is closed while we're probing
4179
function
onclose () {
4180
onerror(
'socket closed'
);
4181
}
4182
4183
// When the socket is upgraded while we're probing
4184
function
onupgrade (to) {
Callers
nothing calls this directly
Calls
1
onerror
Function · 0.85
Tested by
no test coverage detected