We left Russia. We are against aggression and war with Ukraine. It is a tragedy for our nations, it is a nightmare

How to identify jobs that are being cancelled?

We have long running jobs that we offer the user the possibility of cancellation. Upon clicking “Cancel”, we call BackgroundJob.Delete(jobId). Sometimes, the cancellation can take some moments to clean up so we would like to display a visual indication that the job is being cancelled.

Thus my question. Is there a way of finding out that a job is being cancelled?

1 Like