delete_task_async


Description:

public async void delete_task_async (TasksTask task, Cancellable? cancellable)

Deletes task from online tasks service.

this and task are both reffed when this function is called, so can safely be unreffed after this function returns.

callback should call delete_entry_async.end to finish deleting task and to check for possible errors.

For more details, see delete_task, which is the synchronous version of this function, and delete_entry_async, which is the base asynchronous insertion function.

Parameters:

this

a TasksService

task

TasksTask to delete

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when insertion is finished

user_data

data to pass to the callback function




2022 vala-language.org