MCPcopy Index your code
hub / github.com/ptmt/react-native-macos / callback

Function callback

packager/src/ModuleGraph/__tests__/Graph-test.js:107–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106 let calls = 0;
107 function callback() {
108 if (calls === 0) {
109 process.nextTick(() => {
110 expect(calls).toEqual(1);
111 done();
112 });
113 }
114 ++calls;
115 }
116
117 graph(['entryA', 'entryB'], anyPlatform, noOpts, callback);
118 });

Callers 9

graphFunction · 0.70
Graph-test.jsFile · 0.70
ModuleGraph.jsFile · 0.50
GraphFunction · 0.50
writeFunction · 0.50
transformModuleFunction · 0.50
transformJSONFunction · 0.50
transformAssetFunction · 0.50
wrapWorkerFnFunction · 0.50

Calls 1

doneFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…