Gio.Task.prototype.get_return_on_cancel

function get_return_on_cancel(): Boolean {
    // Gjs wrapper for g_task_get_return_on_cancel()
}
  

Gets task's return-on-cancel flag. See Gio.Task.prototype.set_return_on_cancel for more details.

Since 2.36

Returns