Method and device for implementing javascript multitasking mechanism
A multi-task and task technology, applied in the Internet field, can solve the problems of resource consumption, inconvenient fiber interaction, and inability to use the front and rear ends in a unified way, so as to eliminate compatibility problems and ensure stability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to designate the same or similar components, although shown in different drawings. For clarity and conciseness, detailed descriptions of known functions and constructions will be omitted so as not to obscure the subject matter of the present invention.
[0019] The Javascript operating environment is based on the event loop (Event Loop) mechanism. The runtime (Runtime) gradually takes out events from the event queue and calls the corresponding event handler to execute. If there is no event, it enters the idle state.
[0020] In the embodiment of the present invention, active objects are used to simulate tasks to be executed, each active object runs in its own independent operating environment, and the active object contains all state information required for the object to run. Active o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com