Re: [Vala] [Async] why use .begin ?
- From: Jan Hudec <bulb ucw cz>
- To: JM <interflug1 gmx net>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Async] why use .begin ?
- Date: Fri, 18 Sep 2009 20:10:41 +0200
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.
--
Jan 'Bulb' Hudec <bulb ucw cz>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]