Re: [Vala] [Async] why use .begin ?



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]