MCPcopy Create free account
hub / github.com/nodejs/nan / tick

Function tick

test/js/asyncworker-test.js:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 , called = false
18 t.type(worker, 'function')
19 function tick () {
20 ticks++
21 if (!called)
22 setTimeout(tick, 0)
23 }
24 setTimeout(tick, 0)
25 worker(200, function () {
26 called = true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected