Roman Elizarov
1 min readNov 4, 2018

--

Frankly, I don’t see how this affects testability of this function. It is as testable as any other suspending function, regardless of whether it was implemented via withContext or via some other truly asynchronous API.

--

--

Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains