slint/api
Simon Hausmann 222b2bd782 Serialize component creation and initial show in slintpad and vs code web preview
Turn the instance variable into a Promise itself, where the first
promise that's assigned to it creates the component and shows
it, before resolving the promise with it.

Some associated helper functions that use this.#instance - which is now a Promise - are also async.
In some call sites it doesn't matter, in others an await was added.
2023-06-16 15:53:04 +02:00
..
cpp Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
node Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
rs Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
wasm-interpreter Serialize component creation and initial show in slintpad and vs code web preview 2023-06-16 15:53:04 +02:00