event loop - mmedrano9438/peripheral-brain GitHub Wiki
is a programming construct or design pattern that waits for and dispatches events or messages in a program. JavaScript has a runtime model based on an event loop, which is responsible for executing the code, collecting and processing events, and executing queued sub-tasks. This model is quite different from models in other languages like C and Java