Michael Friend
08/26/2025, 8:27 PMval versions =
suspendTransaction {
Applications
.selectAll()
.toList()
}Michael Friend
08/27/2025, 5:11 PMsuspendTransaction, so doing suspendTransaction(<http://Dispatchers.IO|Dispatchers.IO>) instead fixes it. Does this mean suspend transaction isn't main safe and is blocking the caller thread? This feels a bit counterintuitive to me and isn't documented anywhere. Shouldn't the suspend function handle main safety internally rather than blocking the parent thread?