MCPcopy
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
13export function shouldNotHappen(done) {
14 return () => done(new Error("should not happen"));
15}
16
17export function sleep() {
18 return new Promise<void>((resolve) => process.nextTick(resolve));

Callers 1

cluster-adapter.tsFile · 0.90

Calls 1

doneFunction · 0.85

Tested by

no test coverage detected