当前位置:网站首页>Interview question -- event cycle
Interview question -- event cycle
2022-07-25 02:49:00 【H5_ ljy】
First execute the first round of macro tasks ( Script ) The code in : Sync ==> Micro task ==> Code in the next round of macro tasks
In macro task : Sync ==> Micro task ==> Macro tasks in the next queue
In the next round of queued macro tasks : Perform synchronization ==> Perform micro tasks ==. Continue to queue when encountering macro tasks ==> Execute the next queued macro task
In the next round of queued macro tasks : Perform synchronization ==> Perform micro tasks ==. Continue to queue when encountering macro tasks ==> Execute the next queued macro task
In the next round of queued macro tasks : Perform synchronization ==> Perform micro tasks ==. Continue to queue when encountering macro tasks ==> Execute the next queued macro task
So it circulates ==> It's the cycle of events .
summary :1. The macro task runs first Micro task post run
2.then It's a micro task Global scripts and calculators are red tasks
边栏推荐
- C language: Structure -- a detailed explanation of memory byte alignment
- Wechat sports field reservation of the finished works of the applet graduation project (7) mid-term inspection report
- The latest interview questions and analysis of software testing in 2022
- QT realizes calendar beautification
- Domain driven model (DDD)
- 【C】 Advanced knowledge of file operation
- HAC cluster is modified to stand-alone
- Wechat sports field reservation of applet completion works applet graduation design (8) graduation design thesis template
- JS foundation -- math
- Selenium framework operation steelth.min.js file hides browser fingerprint features
猜你喜欢

Mgre.hdlc.ppp.chap.nat comprehensive experiment

Sword finger offer 11. rotate the minimum number of the array
![[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)](/img/b3/075ad2d555118272efede5a9969319.png)
[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)

Visualization of correlation coefficient matrix

Explanation of C language file operation function

Study notes of filebeat

JS foundation -- hijacking of this keyword

JS foundation -- math

Pypi counts the number of Downloads
Failed to create data snapshot: lock file [/siyuan/data/assets/image- 2022070216332-jijwccs.png failed: open /siyuan/data/assets/image- 2022070216332-jijwccs.png: permission denied; unable to lock fil
随机推荐
Threat report in June: new bank malware malibot poses a threat to mobile banking users
Operator explanation - C language
"Introduction to interface testing" punch in day08: can you save all parameters to excel for test data?
[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)
Mp4 package analysis
"Introduction to interface testing" punch in to learn day09: Micro service interface: how to use mock to solve chaotic call relationships
Insertion of balanced binary tree (AVL tree)
QT realizes calendar beautification
Js a simple way to store several objects in an array
Digital business cloud: how to realize the application value of supplier SRM management system?
Daily three questions 7.19
MySQL common function summary, very practical, often encountered in interviews
Digital commerce cloud fine chemical industry management platform integrated informatization solution
On the economic model of open source ecology
Pagoda workman WSS reverse proxy socket legal domain name applet chat remove port
Wechat sports field reservation of the finished works of the applet graduation project (7) mid-term inspection report
Jenkins plug-in development -- plug-in expansion
Wechat sports field reservation of the finished works of the applet graduation project (6) opening defense ppt
Automatic backup of Linux server PostgreSQL database
File file name change