acquire


Description:

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

Synchronously acquire an instance

Parameters:

priority

the priority with which to create the instance

cancellable

optional cancellable for aborting the opearation

Returns:

the instance

See also:

acquire_async, acquire_background