summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qtloader.js
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-06-07 15:29:09 +0200
committerMikolaj Boc <mikolaj.boc@qt.io>2023-06-08 18:05:20 +0200
commit4230e56d2e327dfb4ae083e5db38f6177f3c0216 (patch)
treee0764fa70f6038bd8c167b51c5b8e6c497773d0d /src/plugins/platforms/wasm/qtloader.js
parentf7c8ff511c30dc4310a72b3da4b4a345efe1fba0 (diff)
Correctly document qtLoad's return value
Documentation got outdated during review of the new qt loader. Change-Id: I8e23016b9a42e5f003e88c58a8e546255b167983 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/plugins/platforms/wasm/qtloader.js')
-rw-r--r--src/plugins/platforms/wasm/qtloader.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/platforms/wasm/qtloader.js b/src/plugins/platforms/wasm/qtloader.js
index 8ec4cb0ca4..24f20b18d5 100644
--- a/src/plugins/platforms/wasm/qtloader.js
+++ b/src/plugins/platforms/wasm/qtloader.js
@@ -22,14 +22,9 @@
* - entryFunction: (emscriptenConfig: object) => Promise<EmscriptenModule>
* Qt always uses emscripten's MODULARIZE option. This is the MODULARIZE entry function.
*
- * @return Promise<{
- * instance: EmscriptenModule,
- * exitStatus?: { text: string, code?: number, crashed: bool }
- * }>
+ * @return Promise<instance: EmscriptenModule>
* The promise is resolved when the module has been instantiated and its main function has been
- * called. The returned exitStatus is defined if the application crashed or exited immediately
- * after its entry function has been called. Otherwise, config.onExit will get called at a
- * later time when (and if) the application exits.
+ * called.
*
* @see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/emscripten for
* EmscriptenModule