Skip to content

Commit 9053064

Browse files
committed
remove async await
1 parent 1c0f6d2 commit 9053064

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/crons/websocket/websocket.cron.service.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,42 +56,42 @@ export class WebsocketCronService implements OnModuleInit {
5656
'push-transactions',
5757
intervalMs,
5858
'Push transactions to subscribers',
59-
async () => await this.handleTransactionsUpdate()
59+
() => this.handleTransactionsUpdate()
6060
);
6161

6262
this.registerDynamicInterval(
6363
'push-blocks',
6464
intervalMs,
6565
'Push blocks to subscribers',
66-
async () => await this.handleBlocksUpdate()
66+
() => this.handleBlocksUpdate()
6767
);
6868

6969
this.registerDynamicInterval(
7070
'push-stats',
7171
intervalMs,
7272
'Push stats to subscribers',
73-
async () => await this.handleStatsUpdate()
73+
() => this.handleStatsUpdate()
7474
);
7575

7676
this.registerDynamicInterval(
7777
'push-pool',
7878
intervalMs,
7979
'Push pool transactions to subscribers',
80-
async () => await this.handlePoolUpdate()
80+
() => this.handlePoolUpdate()
8181
);
8282

8383
this.registerDynamicInterval(
8484
'push-events',
8585
intervalMs,
8686
'Push events to subscribers',
87-
async () => await this.handleEventsUpdate()
87+
() => this.handleEventsUpdate()
8888
);
8989

9090
this.registerDynamicInterval(
9191
'push-custom-data',
9292
intervalMs,
9393
'Push custom data to subscribers',
94-
async () => await this.handleCustomDataUpdate()
94+
() => this.handleCustomDataUpdate()
9595
);
9696

9797

0 commit comments

Comments
 (0)