commit_source


Description:

public async bool commit_source (Source source, Cancellable? cancellable) throws Error

See commit_source_sync for details.

When the operation is finished, callback will be called. You can then call commit_source.end to get the result of the operation.

Parameters:

this

an SourceRegistry

source

an Source with changes to commit

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