From 860f10e6f004668d3109b5a1d96ddb2b26ddc2f5 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 16 Sep 2022 14:27:24 -0300 Subject: pretty --- packages/taler-wallet-core/src/util/timer.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'packages/taler-wallet-core/src/util/timer.ts') diff --git a/packages/taler-wallet-core/src/util/timer.ts b/packages/taler-wallet-core/src/util/timer.ts index c850c663c..8ec1a25f8 100644 --- a/packages/taler-wallet-core/src/util/timer.ts +++ b/packages/taler-wallet-core/src/util/timer.ts @@ -42,7 +42,7 @@ export interface TimerHandle { } class IntervalHandle { - constructor(public h: any) { } + constructor(public h: any) {} clear(): void { clearInterval(this.h); @@ -60,7 +60,7 @@ class IntervalHandle { } class TimeoutHandle { - constructor(public h: any) { } + constructor(public h: any) {} clear(): void { clearTimeout(this.h); @@ -130,8 +130,6 @@ export class SetTimeoutTimerAPI implements TimerAPI { after(delayMs: number, callback: () => void): TimerHandle { return new TimeoutHandle(setTimeout(callback, delayMs)); } - - } export const timer = new SetTimeoutTimerAPI(); @@ -146,7 +144,7 @@ export class TimerGroup { private idGen = 1; - constructor(public readonly timerApi: TimerAPI) { } + constructor(public readonly timerApi: TimerAPI) {} stopCurrentAndFutureTimers(): void { this.stopped = true; -- cgit v1.2.3