setHandleCancellation

open fun setHandleCancellation(handleCancellation: Boolean)

Sets whether to handle cancellation within the asynchronous operation.

This function has nothing to do with g_simple_async_result_set_check_cancellable(). It only refers to the #GCancellable passed to g_simple_async_result_run_in_thread().

Parameters

handleCancellation

a #gboolean.