MCPcopy Create free account
hub / github.com/firebase/firebase-tools / fn

Function fn

src/profiler.ts:103–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102 const p = new Promise((resolve, reject) => {
103 const fn = (): void => {
104 // Use the signal to stop the ongoing request.
105 controller.abort();
106 if (resError) {
107 return reject(resError);
108 }
109 resolve(generateReport());
110 };
111 if (options.duration) {
112 setTimeout(fn, options.duration * 1000);
113 } else {

Callers 7

debounceFunction · 0.85
runFunction · 0.85
wrapOperationMethod · 0.85
compareArraysFunction · 0.85
runCleanupFunction · 0.85
tests.tsFile · 0.85

Calls 4

resolveFunction · 0.85
generateReportFunction · 0.85
abortMethod · 0.80
rejectFunction · 0.70

Tested by

no test coverage detected