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

Function next

src/utils.ts:1158–1163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1156 let activeCount = 0;
1157
1158 const next = () => {
1159 activeCount--;
1160 if (queue.length > 0) {
1161 queue.shift()?.();
1162 }
1163 };
1164
1165 return <T>(fn: () => Promise<T>): Promise<T> => {
1166 return new Promise<T>((resolve, reject) => {

Callers 15

runFunction · 0.70
proxyResponseFunction · 0.50
simpleProxyFunction · 0.50
getDevModeHandleFunction · 0.50
initMiddlewareFunction · 0.50
proxyRequestHandlerFunction · 0.50
runNextMethod · 0.50
dataMiddlewareMethod · 0.50
logMethod · 0.50
dataMiddlewareMethod · 0.50
createExpressAppFunction · 0.50
createAppFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…