accessibilityOpen
If true
, allows the public cancel function the ability to set cancellationAttempt while the job is in a state of Executing (i.e. anyone with access to the EnqueuedJob instance may signal for cancellation).
If false
, the public cancel function will not be allowed to signal for cancellation. This constrains the functionality to users of the awaitAsync and awaitSync
APIs (i.e. only the callers of executeAsync
and executeSync
extension functions may signal for cancellation).
This has no effect if allowAttempts is set to false
.