Slide 9
Slide 9 text
What is a coroutine
• Coroutine is the way you write async code
without writing callback function
• Construct a coroutine is like construct a
generator, no code execution on creation time
• Coroutine is executed when event loop iterate
over it
• Coroutine is suspended when waiting for event