for_alias


Description:

public static async Collection? for_alias (Service? service, string alias, CollectionFlags flags, Cancellable? cancellable) throws Error

Lookup which collection is assigned to this alias.

Aliases help determine well known collections, such as 'default'.

If service is null, then [funcService.get] will be called to get the default [classService] proxy.

This method will return immediately and complete asynchronously.

Parameters:

service

a secret service object

alias

the alias to lookup

flags

options for the collection initialization

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback