MCPcopy
hub / github.com/cujojs/when / schedule

Function schedule

poll.js:77–82  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

75 }
76
77 function schedule(result) {
78 attempt(interval).then(vote, reject);
79 if (result !== void 0) {
80 deferred.notify(result);
81 }
82 }
83
84 function vote() {
85 if (canceled) { return; }

Callers 2

voteFunction · 0.85
poll.jsFile · 0.85

Calls 1

attemptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…