Created
May 16, 2020 14:13
-
-
Save korzio/5f4f6fd1f4338d1213d75b6c907966e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌───────────────────────────┐ | |
┌─>│ timers │ # setTimeout, setInterval | |
│ └─────────────┬─────────────┘ | |
│ ┌─────────────┴─────────────┐ | |
│ │ pending callbacks │ | |
│ └─────────────┬─────────────┘ | |
│ ┌─────────────┴─────────────┐ | |
│ │ idle, prepare │ # system | |
│ └─────────────┬─────────────┘ ┌───────────────┐ | |
│ ┌─────────────┴─────────────┐ │ incoming: │ | |
│ │ poll │<─────┤ connections, │ | |
│ └─────────────┬─────────────┘ │ data, etc. │ | |
│ ┌─────────────┴─────────────┐ └───────────────┘ | |
│ │ check │ # setImmediate | |
│ └─────────────┬─────────────┘ | |
│ ┌─────────────┴─────────────┐ | |
└──┤ close callbacks │ | |
└───────────────────────────┘ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment