Functions that can return early (e.g. yield return in C#), and after a certain event or defined amount of time, resume running. Typical functions can only return once and would have to be called again to be used.
Functions that can return early (e.g. yield return in C#), and after a certain event or defined amount of time, resume running. Typical functions can only return once and would have to be called again to be used.