fix(core): update
This commit is contained in:
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user