refresh


Description:

[ Version ( since = "3.10" ) ]
public async bool refresh (Cancellable? cancellable) throws Error

Asynchronously initiates a refresh for this, if the this supports refreshing.

The actual refresh operation completes on its own time. This function, along with refresh.end, merely initiates the operation.

Once the refresh is initiated, callback will be called. You can then call refresh.end to get the result of the initiation.

Parameters:

this

an BookBackend

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function