Skip to content

Commit e3b414b

Browse files
committed
update docs [skip ci]
1 parent 5ea5817 commit e3b414b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/TaskTimer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ declare class TaskTimer extends EventEmitter {
166166
* tickDelay: 20, // ticks (to wait before first run)
167167
* tickInterval: 5, // ticks (interval)
168168
* totalRuns: 10, // times to run
169-
* callback(task) {
169+
* callback(task) { // can also be an async function, returning a promise
170170
* console.log(task.id + ' task has run ' + task.currentRuns + ' times.');
171171
* }
172172
* };

lib/tasktimer.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/tasktimer.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)