acquire_async


Description:

public abstract async weak G acquire_async (int priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously 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, acquire_background