Making the driver async #134
eygraber
announced in
Announcements
Replies: 1 comment 5 replies
-
|
What will be the actual benefit to end users who will have to migrate, and what will that entail? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am strongly considering making the driver async (the underlying SQLite APIs are still blocking though). This will allow more efficient integration with the connection pool that I've added to it, as well as make it possible to handle all of the details about dispatching internally, so SQLDelight APIs can be used without worrying about what
CoroutineDispatcheryou are using.It would be a breaking change, though the migration path should be pretty straightforward.
I'm not sure what the options would be if you wanted to use it in a non suspending context.
sqldelight/sqldelight#5967 would have to be released before this would happen.
Thoughts, questions, concerns?
Beta Was this translation helpful? Give feedback.
All reactions