[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: incompatibilities to 5.0 beta
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 21 Nov 2002 16:34:40 +0000
> But: is there any way to tell if a coroutine returned returned due to a
> yield, or due to a "return"? (I mean a generalized way, that doesn't depend
> on the function "return"ing a special value.)
No. (Although you can find out the next time you try to resume it.)
Maybe we will add something like "coroutine.status" that tells whether
a coroutine is still active, but we are still waiting for "realistic
examples".
-- Roberto