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



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]