MCPcopy Index your code
hub / github.com/callstack/agent-device / finish

Function finish

src/utils/retry.ts:197–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195 }
196 let settled = false;
197 const finish = () => {
198 if (settled) return;
199 settled = true;
200 if (signal) {
201 signal.removeEventListener('abort', onAbort);
202 }
203 resolve();
204 };
205 const timer = setTimeout(finish, ms);
206
207 function onAbort(): void {

Callers 1

onAbortFunction · 0.70

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected