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

Function loop

testSetup.js:56–72  ·  view source on GitHub ↗
(animation)

Source from the content-addressed store, hash-verified

54 };
55
56 const loop = (animation) => {
57 return {
58 start: (callback) => {
59 setTimeout(() => {
60 if (callback) {
61 callback({ finished: true });
62 }
63 }, 0);
64 },
65 stop: () => {
66 throw new Error('Not implemented');
67 },
68 reset: () => {
69 throw new Error('Not implemented');
70 },
71 };
72 };
73
74 const parallel = (animations) => ({
75 start: (callback) => {

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…