To be honest, the only important thing is that you...
# squarelibraries
d
To be honest, the only important thing is that your SQLite transactions are performed in non-suspending functions. That's all. You're then free to wrap this in a
withContext(<http://Dispatchers.IO|Dispatchers.IO>) { ... }
to block in the correct context/thread pool. You can also throw in a
Semaphore(1)
or
limitedParallelism(1)
to reduce the number of unnecessarily blocked threads in your program.