Lesson 29.4 The yield Statement
From Hannah Lee on December 3rd, 2020
While generators are coroutines, the communication only goes one way: from the child to the calling parent. In this video we show how to reverse this communication, passing down information from the parent to the coroutine. This allows us to keep the coroutine constantly updated to changes in the parent.