The following repo has A Google slides presentation About how JavaScript is executed & the event loop - this is a longer presentation.
You'll find:
- A PDF of the presentation, with speaker notes written in a conversational style, so you would be able to just give this talk else where with zero changes if you want to! (with attribution of course 😉)
- A markdown transcript.
Here are links to the actual Google slides document:
Note that the presentation deliberately does not mention the promise queue - the presentation is targeted at experienced programmers unfamiliar with JavaScript omitting this extra detail makes the presentation easier to grok for the target audience. In a Q & A session after presentation it may be worth mentioning the promise queue once the concept of the event loop has been established.
If you do find any of this useful let me know! Twitter: @kevlangelo Email: [email protected]
You should also check out JavaScript main thread. Dissected. 🔬 | by Francesco | Medium, which I read while learning about the event loop for this talk, my diagrams are based on the ones presented in the article.