Re: [Vala] Implicit lamdas/closures
- From: Jürg Billeter <j bitron ch>
- To: Sam Liddicott <sam liddicott com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Implicit lamdas/closures
- Date: Sun, 02 Nov 2008 00:14:36 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]