Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/scriptscat/scriptcat
/ handler
Function
handler
src/pkg/utils/with_timeout.test.ts:50–50 ·
view source on GitHub ↗
(reason: unknown)
Source
from the content-addressed store, hash-verified
48
// 收集未处理 rejection
49
const
unhandledRejections: unknown[] = [];
50
const
handler = (reason: unknown) => unhandledRejections.push(reason);
51
process.on(
"unhandledRejection"
, handler);
52
53
try {
Callers
nothing calls this directly
Calls
1
push
Method · 0.80
Tested by
no test coverage detected