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

Function expectResolved

packages/core/src/Controller.test.ts:576–577  ·  view source on GitHub ↗
(isResolved: boolean)

Source from the content-addressed store, hash-verified

574
575 // HACK: The internal promise is undefined once resolved.
576 const expectResolved = (isResolved: boolean) =>
577 !ctrl['_state'].promise == isResolved
578
579 // Resume the paused loop.
580 ctrl.resume()

Callers 1

Controller.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…