Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/browserless/browserless
/ rejectOnce
Function
rejectOnce
src/utils.ts:271–277 ·
view source on GitHub ↗
(error: Error)
Source
from the content-addressed store, hash-verified
269
};
270
271
const
rejectOnce = (error: Error) => {
272
if
(hasResolved) {
273
return
;
274
}
275
hasResolved = true;
276
reject(error);
277
};
278
279
req
280
.on(
'data'
, (chunk) => {
Callers
1
readRequestBody
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected