remove2_async


Description:

[ Version ( since = "1.50" ) ]
public async bool remove2_async (RemoveFlags flags, string name, ProgressCallback? progress_callback, Cancellable? cancellable) throws Error

Asynchronously uninstall a snap.

See remove2_sync for more information.

Parameters:

this

a Client.

flags

a set of RemoveFlags to control remove options.

name

name of snap to remove.

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.




2022 vala-language.org