Thank you for this simple but very clear representation of asynchronous programming. Sadly some resources explain asynchronicity unclearly (in particular eloquent javascript), and this image is a confirmation that I understood the concept right
Not quite though, the graph on the left would be right if your program is multi-thread or does nothing else than pure async functions i.e. Api calls or database requests.
13
u/NobodyIsUsingThis May 01 '20
Thank you for this simple but very clear representation of asynchronous programming. Sadly some resources explain asynchronicity unclearly (in particular eloquent javascript), and this image is a confirmation that I understood the concept right