MCPcopy Create free account
hub / github.com/dcloudio/mui / queueAfter

Function queueAfter

js/mui.animationframe.js:48–59  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

46 }
47
48 function queueAfter(callback) {
49 var qid;
50
51 qid = queue(function() {
52 queues[qid] = rAF(function() {
53 delete queues[qid];
54 callback.apply(animationFrame, arguments);
55 });
56 });
57
58 return qid;
59 }
60
61 function cancel(qid) {
62 if ( qid in queues) {

Callers

nothing calls this directly

Calls 1

queueFunction · 0.85

Tested by

no test coverage detected