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>
This commit is contained in:
parent
f7c8ff511c
commit
4230e56d2e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user