abstract fun whenReady(): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.core.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.