Sam Garfinkel
03/24/2020, 6:27 PMInputStream
or Reader
, what’s the correct way to wrap that such that I can call it as a suspendable function and map some sort of asynchronous communication such as a Channel
into the given InputStream
?with(<http://Dispatchers.IO|Dispatchers.IO>) { … }
then how to I map the asynchronous channel into a synchronous data structure?kevin.cianfarini
03/24/2020, 6:31 PMSam Garfinkel
03/24/2020, 6:58 PM