Re: [Vala] [Async] why use .begin ?
- From: Yu Feng <rainwoodman gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] [Async] why use .begin ?
- Date: Fri, 18 Sep 2009 21:06:52 -0400
Please someone elaborates on .begin / .end in the tutorial. The async
story is missing in it.
- Yu
On Fri, 2009-09-18 at 20:10 +0200, Jan Hudec wrote:
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]