MCPcopy Index your code
hub / github.com/browserless/browserless / resolveOnce

Function resolveOnce

src/utils.ts:263–269  ·  view source on GitHub ↗
(results: string)

Source from the content-addressed store, hash-verified

261 let totalSize = 0;
262
263 const resolveOnce = (results: string) => {
264 if (hasResolved) {
265 return;
266 }
267 hasResolved = true;
268 resolve(results);
269 };
270
271 const rejectOnce = (error: Error) => {
272 if (hasResolved) {

Callers 1

readRequestBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected