aboutsummaryrefslogtreecommitdiffstats
path: root/packages/kovan-faucets/src/ts/request_queue.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/kovan-faucets/src/ts/request_queue.ts')
-rw-r--r--packages/kovan-faucets/src/ts/request_queue.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/kovan-faucets/src/ts/request_queue.ts b/packages/kovan-faucets/src/ts/request_queue.ts
index 301aec8d5..98e8e381a 100644
--- a/packages/kovan-faucets/src/ts/request_queue.ts
+++ b/packages/kovan-faucets/src/ts/request_queue.ts
@@ -41,12 +41,15 @@ export class RequestQueue {
return;
}
const recipientAddress = this.queue.shift();
+ // tslint:disable-next-line:no-floating-promises
this.processNextRequestFireAndForgetAsync(recipientAddress);
+
}, this.queueIntervalMs);
}
protected stop() {
clearInterval(this.queueIntervalId);
}
+ // tslint:disable-next-line:prefer-function-over-method
protected async processNextRequestFireAndForgetAsync(recipientAddress: string) {
throw new Error('Expected processNextRequestFireAndForgetAsync to be implemented by a superclass');
}