DEV Community

Discussion on: Asynchronous vs Synchronous Programming

Collapse
toastking profile image
Matt Del Signore

The way I usually explain it is that threads can be though of as parallel lines doing work simultaneously. Asynchronous code can be thought of as a line with a bunch of different segments one after the other. Asynchronous hands of execution over and over.