79116441

Date: 2024-10-23 05:23:50
Score: 1
Natty:
Report link

Asynchronous code is placed in a queue and processed item by item, when there is no other work to do - all on a single thread.

Consider that if you wrote a loop in main() that executed continuously, no asynchronous code in the event queue would ever get run! In reality, most programs sit around waiting for something to happen, and those items in the event queue are being processed during that time on that same single thread.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: aryeh