Currently am using runBlocking but am not sure if that's the right use case
e
ephemient
11/19/2022, 4:50 PM
it depends, but most likely that is not the right use case
b
brian
11/21/2022, 9:55 AM
So let's say I am making a network request and I need to access the token to authenticate it. But the token is stored in DataStore; the new SharedPreferences
brian
11/21/2022, 9:56 AM
Don't you think runBlocking is required here since we want to access the token before making the network request?
e
ephemient
11/21/2022, 10:19 AM
it would make more sense for your network request to be run in a