- Notifications
You must be signed in to change notification settings - Fork1.2k
NotifyModuleReadyCallback
Richard edited this pageFeb 23, 2018 ·1 revision
User implemented callback to get notification when the module is ready.
typedef JsErrorCode (CHAKRA_CALLBACK * NotifyModuleReadyCallback) ( _In_opt_ JsModuleRecord referencingModule, _In_opt_ JsValueRef exceptionVar);
- referencingModule: The referencing module that has finished running ModuleDeclarationInstantiation step.
- exceptionVar: If nullptr, the module is successfully initialized and host should queue the execution job otherwise it's the exception object.
Returns a JsErrorCode - note, the return value is ignored.
The callback is invoked on the current runtime execution thread, therefore execution is blocked until the callback completes. This callback should schedule a call to JsEvaluateModule to run the module that has been loaded.
- 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!