Priming a Coroutine
Learn how to prime coroutines with decorators.
We'll cover the following...
What is priming?
When a coroutine is created and hasn’t exploited its first send
, we use the next
method to activate it to advance to its first yield
; this is known as priming a coroutine.
...