Floor in separate isolate #465
Answered
by
vitusortner
alectogeek
asked this question in
Q&A
-
Does Floor run in separate isolate? |
Beta Was this translation helpful? Give feedback.
Answered by
vitusortner
Dec 26, 2020
Replies: 1 comment 1 reply
-
Hi! As floor is based on sqflite, Android and iOS apps access the SQLite database on a native background thread. On Linux, macOS, and Windows, a separate isolate is used. You can find some further reading here https://github.com/tekartik/sqflite/blob/fc97c7973fffbf70e7a08f5d0f8b71e33082c385/sqflite/doc/usage_recommendations.md. I'll extend the project's README. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vitusortner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! As floor is based on sqflite, Android and iOS apps access the SQLite database on a native background thread. On Linux, macOS, and Windows, a separate isolate is used. You can find some further reading here https://github.com/tekartik/sqflite/blob/fc97c7973fffbf70e7a08f5d0f8b71e33082c385/sqflite/doc/usage_recommendations.md.
I'll extend the project's README.