Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Sets a promise continuation callback function that is called by the context when a task needs to be queued for future execution.
Syntax
STDAPI_(JsErrorCode) JsSetPromiseContinuationCallback(
_In_ JsPromiseContinuationCallback promiseContinuationCallback,
_In_opt_ void *callbackState
);
Parameters
promiseContinuationCallback
The callback function being set.
callbackState
User provided state that will be passed back to the callback.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
This API is supported only in EdgeHTML mode.
Requirements
Header: jsrt.h