JsPromiseContinuationCallback Typedef
A promise continuation callback.
typedef void (CALLBACK *JsPromiseContinuationCallback)(
_In_ JsValueRef task,
_In_opt_ void *callbackState
);
task
callbackState
The host can specify a promise continuation callback in JsSetPromiseContinuationCallback
. If a script creates a task to be run later, then the promise continuation callback will be called with the task and the task should be put in a FIFO queue, to be run when the current script is done executing.
This API is supported only in EdgeHTML mode.
jsrt.h