refresh_cache_async
Description:
[ CCode ( finish_name = "pk_task_generic_finish" ) ]
[ Version ( since = "0.6.5" ) ]
public async Results refresh_cache_async (bool force, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
[ Version ( since = "0.6.5" ) ]
public async Results refresh_cache_async (bool force, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Refresh the package cache.
Parameters:
this |
a valid Task instance |
force |
if the metadata should be deleted and re-downloaded even if it is correct |
cancellable |
a Cancellable or |
progress_callback |
the function to run when the progress changes |
callback_ready |
the function to run on completion |
progress_user_data |
data to pass to |
user_data |
the data to pass to |