jw
07/21/2018, 3:12 AMspierce7
07/21/2018, 3:14 AMjw
07/21/2018, 3:15 AMspierce7
07/21/2018, 3:16 AMfreeze()
on an object, effectively making it immutable, and then it will be able to be able to be shared with the coroutine scope.
It's my understanding that multi-thread coroutines require some additional work for the native compiler, and once that's implemented they will circle back and add it to the kotlinx.coroutines. They just released single-threaded coroutines