acquire


Description:

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

Synchronously 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_async, acquire_background