Minor modification.

This commit is contained in:
kovacsv 2022-02-06 16:43:18 +01:00
parent 686d225aa0
commit fa7f82e9c2

View File

@ -7,17 +7,17 @@ export class TaskRunner
this.callbacks = null;
}
Run (count, callbacks)
{
Run (count, callbacks)
{
this.count = count;
this.current = 0;
this.current = 0;
this.callbacks = callbacks;
if (count === 0) {
this.TaskReady ();
} else {
this.RunOnce ();
}
}
}
RunBatch (count, batchCount, callbacks)
{