Re: [Vala] [Genie] Using async methods in Genie
- From: Al Thomas <astavale yahoo co uk>
- To: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] [Genie] Using async methods in Genie
- Date: Sun, 28 Apr 2013 15:05:03 +0100 (BST)
Alex Stefan Kaye wrote on Saturday, 27 April 2013:
Is it possible to use Vala's async methods in Genie? If so, could
someone give an example of the syntax to use?
I have not used them myself, but have made a few bookmarks when I was researching Genie:
https://mail.gnome.org/archives/vala-list/2011-February/msg00072.html - suggests it works and syntax for
declaring a function is def async function_name ():
https://live.gnome.org/Vala/Tutorial#Asynchronous_Methods
- hopefully Genie closely matches the Vala syntax such as the use of the yield keyword
Other bookmarks:
https://live.gnome.org/Vala/AsyncSamples
https://live.gnome.org/Vala/GIOSamples#Asynchronous_File_Listing
http://tecnocode.co.uk/2012/12/30/single-thread-synchronisation-in-vala/
https://mail.gnome.org/archives/vala-list/2011-July/msg00111.html
If you get it working a short write up of your code would be helpful,
Al
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]