-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JsModuleEvaluation
Richard edited this page Feb 23, 2018
·
1 revision
Execute module code.
CHAKRA_API
JsModuleEvaluation(
_In_ JsModuleRecord requestModule,
_Outptr_result_maybenull_ JsValueRef* result);
- requestModule: The ModuleRecord being executed.
- result: The return value of the module.
The code JsNoError if the operation succeeded, a failure code otherwise.
This API is experimental and may have breaking change later. This method implements 15.2.1.1.6.5, "ModuleEvaluation" concrete method. This method should be called after the engine notifies the host that the module is ready. This method only needs to be called on root modules - it will execute all of the dependent modules.
One moduleRecord will be executed only once. Additional execution call on the same moduleRecord will fail.
- 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!