acquire_background


Description:

public override async unowned T acquire_background (int priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously acquire a resource in a background thread

Parameters:

priority

the priority with which to create the resource

cancellable

optional cancellable for aborting the opearation

Returns:

the resource

See also:

acquire, acquire_async