Join Slack
Powered by
Is `Job.cancel()` thread-safe?
# coroutines
m
Marc Knaup
06/11/2019, 3:11 PM
Is
Job.cancel()
thread-safe?
z
zak.taccardi
06/11/2019, 3:11 PM
coroutines still running under that job will be cancelled once they hit a suspension point
m
Marc Knaup
06/11/2019, 3:12 PM
I know, but I don't know if that cancelation logic behind
cancel()
is thread-safe.
z
Zach Klippenstein (he/him) [MOD]
06/11/2019, 3:13 PM
It is thread-safe, yes.
🙏 1
3
Views
Open in Slack
Previous
Next