[Vala] [Async] why use .begin ?
- From: JM <interflug1 gmx net>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] [Async] why use .begin ?
- Date: Fri, 18 Sep 2009 18:18:33 +0200
Hi all
A few days ago I edited the asynchronous stream reading example on the
vala site to use the new async syntax.
http://live.gnome.org/Vala/GIOSamples#head-a6170c01121b9fe5825f431de73573b084545741
After the release of vala-0.7.6 I realized that other examples of the
new syntax use '.begin()' to call the async function.
I compiled the example with and without the .begin keyword and found NO
DIFFERENCE in the generated C code. Both ways are working properly.
Is there a case where the difference will be more clear?
Regards
Jörn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]