MCPcopy
hub / github.com/pmndrs/react-spring / each

Method each

packages/core/src/Controller.ts:256–258  ·  view source on GitHub ↗

Call a function once per spring value

(iterator: (spring: SpringValue, key: string) => void)

Source from the content-addressed store, hash-verified

254
255 /** Call a function once per spring value */
256 each(iterator: (spring: SpringValue, key: string) => void) {
257 eachProp(this.springs, iterator as any)
258 }
259
260 /**
261 * Subscribe to loop iteration restarts on this controller. Returns an

Callers 4

getMethod · 0.95
stopMethod · 0.95
setup.tsFile · 0.80
describeConfigPropFunction · 0.80

Calls 1

eachPropFunction · 0.90

Tested by 1

describeConfigPropFunction · 0.64