Compare commits

..

2 Commits

Author SHA1 Message Date
Derrick Hammer ae487a27e5
*Update dist 2023-02-17 16:50:42 -05:00
Derrick Hammer b98db98b6a
*Missing await 2023-02-17 16:50:05 -05:00
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -44,7 +44,7 @@ export class SwarmClient extends Client {
this._ready = undefined; this._ready = undefined;
} }
async start() { async start() {
this._connectBackoff.run(() => this.init()); await this._connectBackoff.run(() => this.init());
this._connectBackoff.on("retry", (error) => { this._connectBackoff.on("retry", (error) => {
this.logErr(error); this.logErr(error);
}); });

View File

@ -60,7 +60,7 @@ export class SwarmClient extends Client {
} }
async start(): Promise<void> { async start(): Promise<void> {
this._connectBackoff.run(() => this.init()); await this._connectBackoff.run(() => this.init());
this._connectBackoff.on("retry", (error: any) => { this._connectBackoff.on("retry", (error: any) => {
this.logErr(error); this.logErr(error);