kyleg
12/24/2019, 5:49 PMlaunch(<http://Dispatchers.IO|Dispatchers.IO>) or something? (This is a Kotlin command line program I’m working on)simon.vergauwen
12/25/2019, 10:17 AMeffect. What you want to use here is.
effect(IO.dispatchers().io()) { ImageIO.read(file) }
Which is an alias for IO(IO.dispatchers().io()) { ... }simon.vergauwen
12/25/2019, 10:17 AMcontinueOn, shift to perform concurrent switching or use any of the parallel operators to run IO in certain `CoroutineContext`s.simon.vergauwen
12/25/2019, 10:18 AMstojan
12/25/2019, 11:31 AMstojan
12/25/2019, 11:32 AMsimon.vergauwen
12/25/2019, 2:51 PM