igor.wojda
03/18/2021, 11:05 AMwasyl
03/18/2021, 11:27 AMwithContext
using IO dispatcheriseki
03/18/2021, 2:09 PMfromJson
read data from bufferedSource
might block the depended thread. Maybe nonblocking parse mode will be useful. (If the json deserializer has this feature.)pawegio
03/18/2021, 2:59 PMsuspend
modifierfromJson
don’t care about coroutines, it’s a blocking method call that ignores coroutine cancellationuli
03/18/2021, 5:45 PMwithContext(<http://Dispatchers.IO|Dispatchers.IO>) {
.....fromJson(…)
}
wasyl
03/18/2021, 5:52 PMuli
03/18/2021, 5:55 PM