toxicity-io / sqlite-mc

An SQLDelight driver that uses SQLite3MultipleCiphers for database encryption.
Apache License 2.0
13 stars 0 forks source link

`createBlocking` should use `Dispatchers.IO` #112

Open 05nelsonm opened 7 months ago

05nelsonm commented 7 months ago

runBlocking utilizes EmptyCoroutineContext by default meaning that under the hood Dispatchers.Default is being used. This is a bottle neck and should not be a thing. Need to pass in as a constructor argument Dispatchers.IO to all runBlocking function calls.