MCPcopy 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
35module.exports = Queue;

Callers 1

pushMethod · 0.95

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected