fix(core): update

This commit is contained in:
2021-09-26 14:45:02 +02:00
parent 8f9b3151d8
commit c367f0f949
9 changed files with 20310 additions and 3785 deletions

View File

@@ -8,7 +8,7 @@ export class BufferRunner {
this.task = taskArg;
}
public trigger(x): Promise<any> {
public trigger(x: any): Promise<any> {
if (!(this.bufferCounter >= this.task.bufferMax)) {
this.bufferCounter++;
}
@@ -21,8 +21,8 @@ export class BufferRunner {
return returnPromise;
}
private _run(x) {
const recursiveBufferRunner = (x) => {
private _run(x: any) {
const recursiveBufferRunner = (x: any) => {
if (this.bufferCounter >= 0) {
this.task.running = true;
Task.runTask(this.task, { x: x }).then((x) => {