int
priority = DEFAULT
, Cancellable
? cancellable = null) throws Error
int
priority = DEFAULT
, Cancellable
? cancellable = null) throws Error
Execute a callback which uses a resource
func | the callback to execute |
priority | the priority with which to create the resource |
cancellable | optional cancellable for aborting the opearation |
the return value from the callback |