Skip to content

Commit

Permalink
u info
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimTanyalcin committed Feb 7, 2018
1 parent 10b18ed commit 3cf8346
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ If you want to control the speed of which the function executions take place, th
<script type="text/javascript" src="../taskq.js" data-min-pause="2000" charset="UTF-8"></script>
/*'hmm' refers to the taskq object*/
```
Above snippet will execute pushed functions to taskq with an interval of 2000ms.
Above snippet will execute pushed functions to taskq with an interval of 2000ms. You can change the minimum pause value during runtime as well:

```
taskq.minPause = 1000; //1000ms pause between executions
```

Within each script you have the outermost clojure:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ibowankenobi/taskq",
"version": "2.0.4",
"version": "2.0.5",
"description": "Module like task queuer for async scripts",
"main": "taskq.js",
"directories": {
Expand Down

0 comments on commit 3cf8346

Please sign in to comment.