Jeff Lockhart
08/19/2023, 1:46 AMCoroutineScope
associated with your database instance with a limited parallelism of 1, and use that scope to launch the coroutines your write operations are performed in.
val writeScope = CoroutineScope(Dispatchers.IO.limitedParallelism(1))