Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coopernurse/node-pool
/ _createTimeoutRejectionHandler
Method
_createTimeoutRejectionHandler
lib/Queue.js:26–32 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
24
}
25
26
_createTimeoutRejectionHandler(node) {
27
return
reason => {
28
if
(reason.name ===
"TimeoutError"
) {
29
this._list.remove(node);
30
}
31
};
32
}
33
}
34
35
module.exports = Queue;
Callers
1
push
Method · 0.95
Calls
1
remove
Method · 0.45
Tested by
no test coverage detected