How to use the delay function from q
Find comprehensive JavaScript q.delay code examples handpicked from public code repositorys.
GitHub: rstacruz/pomo.js
71 72 73 74 75 76 77 78 79
self.work.initial(); self.start = self.now(); self.interrupted = false; return Q.delay(1000); }).then(function() { /* Work: start */ return self.work.start();
7
73
7
+ 3 other calls in file