whenReady

abstract fun whenReady(): Promise<Void>(source)

fulfilled when Electron is initialized. May be used as a convenient alternative to checking app.isReady() and subscribing to the ready event if the app is not ready yet.