MCPcopy Create free account
hub / github.com/callstack/react-native-paper / parallel

Function parallel

testSetup.js:74–82  ·  view source on GitHub ↗
(animations)

Source from the content-addressed store, hash-verified

72 };
73
74 const parallel = (animations) => ({
75 start: (callback) => {
76 const results = animations.map((animation) => {
77 animation.start();
78 return { finished: true };
79 });
80 callback?.({ finished: results.every((result) => result.finished) });
81 },
82 });
83
84 RN.Animated.timing = timing;
85 RN.Animated.loop = loop;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…