-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JsPromiseContinuationCallback
Limin Zhu edited this page Oct 9, 2015
·
1 revision
A promise continuation callback.
typedef void (CALLBACK *JsPromiseContinuationCallback)(_In_ JsValueRef task, _In_opt_ void *callbackState);
- task: The task, represented as a JavaScript function.
- callbackState: The data argument to be passed to the callback.
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.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!