Concurrency Model
↔ (mechanism) to achieve Concurrency for JS Engine via Event Loop, Callback Queue & Callback Function
JS needs Concurrency Model to handle async function
since most JS Engine run on single Execution Thread
Async
of process to occur in parallel, independently
Sync
Runtime behaviour to execute Code sequentially line-by-line in exact order, tends to be Blocking
References
Rust
↔ Programming Language for performance & safe Concurrency Model, ex Gecko & SWC**Event Loop**
↔ (mechanism) to orchestrate Non-Blocking Concurrency Model by manageCallback Functions between Callback Queue& Call Stack, toawait
execute