- Notifications
You must be signed in to change notification settings - Fork1.2k
JsIdle
rhuanjl edited this pageOct 9, 2018 ·2 revisions
Tells the runtime to do any idle processing it needs to do.
STDAPI_(JsErrorCode) JsIdle( _Out_opt_ unsigned int *nextIdleTick);
- nextIdleTick: The next system tick when there will be more idle work to do. Can be null. Returns the maximum number of ticks if there no upcoming idle work to do.
The codeJsNoError if the operation succeeded, a failure code otherwise.
If idle processing has been enabled for the current runtime, callingJsIdle willinform the current runtime that the host is idle and that the runtime can performmemory cleanup tasks.JsIdle can also return the number of system ticks until there will be more idle workfor the runtime to do. CallingJsIdle before this number of ticks has passed will dono work.Requires an active script context.
- 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!