Skip to content

Commit 9f1da48

Browse files
committed
fix: eslint
1 parent 5aec239 commit 9f1da48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lazer/sdk/js/src/socket/web-socket-pool.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ export class WebSocketPool {
5353
// If a websocket client unexpectedly disconnects, ResilientWebSocket will reestablish
5454
// the connection and call the onReconnect callback.
5555
// When we reconnect, replay all subscription messages to resume the data stream.
56-
rws.onReconnect = async () => {
56+
rws.onReconnect = () => {
5757
if (rws.wsUserClosed) {
5858
return;
5959
}
6060
for (const [, request] of this.subscriptions) {
6161
try {
62-
await rws.send(JSON.stringify(request));
62+
void rws.send(JSON.stringify(request));
6363
} catch (error) {
6464
this.logger.error(
6565
"Failed to resend subscription on reconnect:",

0 commit comments

Comments
 (0)