MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / makeCall

Function makeCall

src/test/common.node.ts:52–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 const reasons: any[] = [];
51
52 const makeCall = () => {
53 wrapped.call(this as Function, ...args).then(resolve, (reason: any) => {
54 reasons.push(reason);
55 if (reasons.length >= retryCount) {
56 reject(reasons);
57 } else {
58 // If failed once, lets wait for some time before trying again.
59 setTimeout(makeCall, 500);
60 }
61 });
62 };
63
64 makeCall();
65 });

Callers 1

retryAsyncFunction · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected