Because atm you’re calling this on the main thread...
# arrow
s
Because atm you’re calling this on the main thread and thus blocking and doing network calls there unless you are on a background thread before reaching this point?
Copy code
runBlocking {
        fx {
            val (posts) = mPostsApi.getPosts(authToken)