refresh_remote_async
Description:
[ Version ( since = "1.5.0" ) ]
public async bool refresh_remote_async (Remote remote, Cancellable? cancellable) throws Error
public async bool refresh_remote_async (Remote remote, Cancellable? cancellable) throws Error
Refreshes a remote by downloading new metadata.
NOTE: This method is thread-safe, but progress signals will be emitted in the global default main context, if not explicitly set with set_main_context.
Parameters:
this |
A Client |
remote |
A Remote |
cancellable |
the Cancellable, or null |
callback |
the function to run on completion |
callback_data |
the data to pass to |