execute_async


Description:

public async R execute_async<R> (owned Callback<T,R> func, int priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously execute a callback which uses a resource

Parameters:

func

the callback to execute

priority

the priority with which to create the resource

cancellable

optional cancellable for aborting the opearation

Returns:

the return value from the callback

See also:

execute, execute_background