tcl::unsupported::corotype
tcl::unsupported::corotype coroName
How a coroutine waits: yield or yieldto, or active while it runs.
Examples
A click on an example runs it in the shell of the page.
coroutine c apply {{} {yield}}; tcl::unsupported::corotype c:yield
Errors
tcl::unsupported::corotype nopegives the errorcan only get coroutine type of a coroutine
Facts
- Capability: none.
- Compute cost: one compute unit for the call, and more for the commands that it runs.