SimpleAsyncResult.setHandleCancellation

void setHandleCancellation(bool handleCancellation)

Sets whether to handle cancellation within the asynchronous operation.

This function has nothing to do with [gio.simple_async_result.SimpleAsyncResult.setCheckCancellable]. It only refers to the #GCancellable passed to [gio.simple_async_result.SimpleAsyncResult.runInThread].

Parameters

handleCancellationa #gboolean.