Every wondered how the javascript concurrency model works? I didn’t either …. until tonight, chasing a bug in todotxttdi.com todo.txt HTML client. In case you are interested, here are the three references that got me across the line:
- Mozilla Developer Network Concurrency model and Event Loop
- Sam Tobin-Hochstadt JavaScript: a concurrent language with shared mutable state
- Daniel Lew JavaScript: How do I store javascript functions in a queue for them to be executed eventually