|
|
||
|
Markus Huber wrote:
do
local MyProducer=Producer() -- returns the coroutine
repeat
Error,Data=coroutine.resume(MyProducer)
until not Data
print(coroutine.status(MyProducer)) --> suspended!
end
print(MyProducer) --> nil