MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / cb

Function cb

Libraries/Animated/src/AnimatedImplementation.js:2225–2237  ·  view source on GitHub ↗
(endResult)

Source from the content-addressed store, hash-verified

2223
2224 animations.forEach((animation, idx) => {
2225 var cb = function(endResult) {
2226 hasEnded[idx] = true;
2227 doneCount++;
2228 if (doneCount === animations.length) {
2229 doneCount = 0;
2230 callback && callback(endResult);
2231 return;
2232 }
2233
2234 if (!endResult.finished && stopTogether) {
2235 result.stop();
2236 }
2237 };
2238
2239 if (!animation) {
2240 cb({finished: true});

Callers 13

commandStub.jsFile · 0.85
makeCommand.jsFile · 0.85
doneFunction · 0.85
getModulesFunction · 0.85
transformModuleFunction · 0.85
createCacheFunction · 0.85
Bundler-test.jsFile · 0.85
flushAnimationPriFunction · 0.85
flushDeferredPriFunction · 0.85
parallelFunction · 0.85

Calls 2

callbackFunction · 0.50
stopMethod · 0.45

Tested by 1

createCacheFunction · 0.68