insert_comment_async


Description:

public async Comment? insert_comment_async (Service service, Comment comment_, Cancellable? cancellable) throws Error

Adds comment to the Commentable.

this, service and comment_ are all reffed when this method is called, so can safely be freed after this method returns.

For more details, see insert_comment, which is the synchronous version of this method.

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

Parameters:

this

a Commentable

service

a Service with which the comment will be added

comment_

a new comment to be added to the Commentable

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the operation is finished

user_data

data to pass to the callback function