Skip to content

Commit

Permalink
nice example
Browse files Browse the repository at this point in the history
  • Loading branch information
demian85 committed Sep 5, 2011
1 parent bc27a1a commit 810b793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples.js
Expand Up @@ -11,6 +11,7 @@ new JobManager({
util.log('Executing ' + item);
setTimeout(function() {
if (item%2 == 0) job.retry(3000);
else if (item == 5) job.fail();
else job.next();
}, 100);
},
Expand Down

0 comments on commit 810b793

Please sign in to comment.