Tcl Easy · Lesson 10
Coroutines: generators with coroutine and yield
Turn a proc into a resumable generator with coroutine and yield, pass a value in on each call, and know when a coroutine ends.
Lessons · Tcl Easy · Lesson 10 of 10
Coroutines: generators with coroutine and yield
Turn a proc into a resumable generator with coroutine and yield, pass a value in on each call, and know when a coroutine ends.
