Zac Sweers
12/12/2023, 8:04 PMwithContext()
https://github.com/slackhq/slack-gradle-plugin/pull/678/files#diff-8b5029da572289698d8ca52c5bfb70e1c53262375b55c494bbfe916db5e9adc1R75
4. Each rail runs on the same thread despite the context's dispatcher being backed with a n=size thread pool 🤔. Same behavior happens with <http://Dispatchers.IO|Dispatchers.IO>
and Dispatchers.Default
too
The parallel mapper does work internally as expected (with some fun tests), so I don't think it's an issue with that function directlyZac Sweers
12/12/2023, 8:04 PMZac Sweers
12/12/2023, 8:29 PMUNDISPATCHED
in the parallel mapper, which ran on the same thread until a suspension point. As the function called in the body wasn't a suspend function, no suspension point ever occurred