On Sat, Nov 1, 2008 at 4:14 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> On Sat, 2008-11-01 at 22:42 +0000, Sam Liddicott wrote: > > It'll be a couple of weeks at least before I can look at it. > > > > Jürg, are you intending to allow the callbacks to pass in additional > variables? > > The plan is to allow access to all local variables using closures. > > > Are you planning to base it around any particular async framework? > > The generated C code uses GAsyncReadyCallback and GAsyncResult from > GLib/GIO. > > > Will callbacks be able to continue a loop where it left off? > > Yes, this will be possible. It will also be possible to surround async > calls with a try/catch block. > > Jürg > > _______________________________________________ > Vala-list mailing list > Vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > It would be useful if delegates could through exceptions here too. Particularly when you do async calls that take a delegate. -- Christian
_______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list