Re: [Vala] Thoughts on asynchronous methods



On Sun, 13 Sep 2009 17:40:33 +0200, 
Jürg Billeter <j bitron ch> wrote:

This should be `yield return i;'. We do not use/need `yield return'
for async methods, and I'm planning to add support for `yield return'
for generators in Vala the same way as it's used in C#. I don't see a
conflict here.

Can I ask what probably should be an obvious answer...  Why is it
'yield return'.  What else can 'yield' be followed by?

I can't see a reference to documentation on the syntax and usage of
'yield' anywhere...  But I'm guessing everyone else has?


-- 
Fredderic

Debian/unstable (LC#384816) on i686 2.6.30-1-686 2009 (up 8 days, 18:23)

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]