*Emit the ready event after successful init
This commit is contained in:
parent
50aa507410
commit
c7fd7f294b
|
@ -97,6 +97,8 @@ export default class HyperswarmWeb extends EventEmitter {
|
|||
this._processQueuedActions();
|
||||
await this._activeRelay.dht.ready();
|
||||
this._connectionMutex.release();
|
||||
|
||||
this.emit("ready");
|
||||
}
|
||||
|
||||
private async isServerAvailable(connection: string): Promise<boolean> {
|
||||
|
|
Loading…
Reference in New Issue