async_cancel


Description:

[ Version ( since = "4.2" ) ]
public bool async_cancel (uint task_id) throws Error

Requests that a task be cancelled.

This operation may of may not have any effect depending on the task's status, even if it returns true. If it returns false, then the task has not been cancelled.

Parameters:

this

a Connection

task_id

a task ID returned by async_statement_execute

Returns:

TRUE if no error occurred




2022 vala-language.org