Re: [Vala] [Async] why use .begin ?
- From: JM <interflug1 gmx net>
- To: Jan Hudec <bulb ucw cz>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Async] why use .begin ?
- Date: Fri, 18 Sep 2009 20:33:44 +0200
Ah. ok.
Can you also say something about
async_function.callback
I've seen it in the dbus test, but I don't fully understand it yet.
Regards
Jörn
Am Freitag, den 18.09.2009, 20:10 +0200 schrieb Jan Hudec:
On Fri, Sep 18, 2009 at 19:52:59 +0200, JM wrote:
What does .end() do? Are there any examples available?
It's a syntax for the _finish function. Takes the AsyncResult and return the
real result or throws an error (if the async function does).
It's called like
async_function.end(result)
in the async callback.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]