download_async
Description:
[ Version ( since = "1.54" ) ]
public async Bytes download_async (string name, string? channel, string? revision, Cancellable? cancellable) throws Error
public async Bytes download_async (string name, string? channel, string? revision, Cancellable? cancellable) throws Error
Asynchronously download a snap.
See download_sync for more information.
Parameters:
this |
a Client. |
name |
name of snap to download. |
channel |
channel to download from. |
revision |
revision to download. |
cancellable |
a Cancellable or null. |
callback |
a TaskReadyCallback to call when the request is satisfied. |
user_data |
the data to pass to callback function. |