Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ shouldNotHappen
Function
shouldNotHappen
packages/socket.io-adapter/test/util.ts:13–15 ·
view source on GitHub ↗
(done)
Source
from the content-addressed store, hash-verified
11
}
12
13
export
function
shouldNotHappen(done) {
14
return
() => done(
new
Error(
"should not happen"
));
15
}
16
17
export
function
sleep() {
18
return
new
Promise<void>((resolve) => process.nextTick(resolve));
Callers
1
cluster-adapter.ts
File · 0.90
Calls
1
done
Function · 0.85
Tested by
no test coverage detected