cbruegg
03/28/2017, 2:46 PMex
should already be a CancellationException
if the job was cancelled. Not sure if throwing from a dispatcher is safe though and doesn't mess up stack traces or something else. Maybe @ilya-gh has some insights on that? (Hope it's the right one).