putOrReplace

suspend fun putOrReplace(key: K, job: Job): Job?

Put a job into the container and call Job.cancelAndJoin if one already exists there.

Does not start the job that was put.