(dispose: VoidFunction)
| 21 | setRootCount = setCount |
| 22 | |
| 23 | function createEffectInRoot(dispose: VoidFunction) { |
| 24 | s.createEffect(() => count() === 4 && dispose(), undefined, {}) |
| 25 | |
| 26 | s.createRoot(_ => { |
| 27 | s.createEffect(() => count()) |
| 28 | }) |
| 29 | } |
| 30 | |
| 31 | s.createEffect(() => { |
| 32 | count() |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…