DEV Community

Discussion on: Explain coroutines like I'm five

Collapse
 
thibmaek profile image
Thibault Maekelbergh

Thank you, this was clear enough to grasp it a bit better. I thought coroutines were a specific pattern for async operations though, but from above comments, it seems like they're roughly the same thing.

Thread Thread
 
idanarye profile image
Idan Arye

No - your were right at first. Coroutines are one way to do async - there are other ways. There are also other uses for coroutines. I've written a detailed reply to the main post.