A procedure given for it is called as (procedure resolve reject).
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.
Passed: a <JSCValue>.
<JSCValue> function to call to resolve the promise
Passed: a <JSCValue>.
<JSCValue> function to call to reject the promise
Not passed: it is the user data that guile-gi supplied.
user data