Is `Job.cancel()` thread-safe?
# coroutines
m
Is
Job.cancel()
thread-safe?
z
coroutines still running under that job will be cancelled once they hit a suspension point
m
I know, but I don't know if that cancelation logic behind
cancel()
is thread-safe.
z
It is thread-safe, yes.
🙏 1