MCPcopy Create free account
hub / github.com/effect-app/libs / ticks

Function ticks

packages/vue/test/interrupt-refetch-repro.test.ts:38–43  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

36
37const tick = () => new Promise((resolve) => setTimeout(resolve, 0))
38const ticks = async (n: number) => {
39 for (let i = 0; i < n; i++) {
40 await nextTick()
41 await tick()
42 }
43}
44
45const makeEnv = () => {
46 const mrt = ManagedRuntime.make(Reactivity.layer)

Callers 2

induceStuckWaitingFunction · 0.85

Calls 1

tickFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…