https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

asad.awadia

11/26/2018, 2:33 AM
Is getting a key from redis considered a blocking call? Should it be wrapped in a
withContext
?
b

bdawg.io

11/26/2018, 4:53 AM
It all depends on your redis client whether it's blocking or not.
withContext(<http://Dispatchers.IO|Dispatchers.IO>)
is probably applicable though
2 Views