Function
JavaScriptCoreExecutor
Description [src]
A function passed to jsc_value_new_promise called during initialization
It is called like a JavaScript function, so exceptions raised will not be propagated
to the context, but handled by the promise causing a rejection.
resolve and reject can be reffed for later use to handle async task completion.
| Available since: | 2.48 |
Parameters
resolve |
JSCValue |
|
|
| The data is owned by the caller of the function. | |
reject |
JSCValue |
|
|
| The data is owned by the caller of the function. | |
user_data |
gpointer |
User data. |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |