cancelAndJoin

suspend fun cancelAndJoin(key: K): Job?

Cancel and join a job for key if it is present

Return

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