cancel

fun cancel(key: K): Job?

Cancel a job with the specified key

Return

the job that was cancelled, or null if not found.