refresh_async
Description:
public async bool refresh_async (string name, string? channel, ProgressCallback? progress_callback, Cancellable? cancellable) throws Error
Asynchronously ensure an installed snap is at the latest version.
See refresh_sync for more information.
Parameters:
| this |
a Client. |
| name |
name of snap to refresh. |
| channel |
channel to refresh from or null for default. |
| 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 |
| user_data |
the data to pass to callback function. |