Task.getReturnOnCancel

bool getReturnOnCancel()

Gets task's return-on-cancel flag. See [gio.task.Task.setReturnOnCancel] for more details.

Returns