execute


Description:

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

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_async, execute_background