Ok, fair enough. My issue is that I’m implementing...
# squarelibraries
m
Ok, fair enough. My issue is that I’m implementing a large bulk insert, but the inserts are not simple. I need to do several queries for each one, on the fly, and the nature of the queries varies too. I already have exposed suspend funs for those queries but cannot use them. Is it a sign that I shouldn’t have exposed those as suspend funs in the first place? Keep them blocking instead and just use
withContext(<http://Dispatchers.IO|Dispatchers.IO>)
further up the call hierarchy?