alias_async


Description:

[ Version ( since = "1.25" ) ]
public async bool alias_async (string snap, string app, string alias, ProgressCallback? progress_callback, Cancellable? cancellable) throws Error

Asynchronously create an alias to an app.

See alias_sync for more information.

Parameters:

this

a Client.

snap

the name of the snap to modify.

app

an app in the snap to make the alias to.

alias

the name of the alias (i.e. the command that will run this app).

progress_callback

function to callback with progress.

cancellable

a Cancellable or null.

callback

a TaskReadyCallback to call when the request is satisfied.

progress_callback_data

user data to pass to progress_callback.

user_data

the data to pass to callback function.