acquire_async


Description:

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

Asynchronously acquire a resource

Parameters:

priority

the priority with which to create the resource

cancellable

optional cancellable for aborting the opearation

Returns:

the resource

See also:

acquire, acquire_background