We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RealmConfiguration.allowQueriesOnUiThread()/allowWritesOnUiThread()
Similar to Realm Java we should prevent people from making performance mistakes by querying or writing on the UI thread.
Given some KMP targets might not have a dedicated UI thread, we do need to decide what to do there:
uiThread
mainThread
Suggested API:
RealmConfiguration.Builder.allowQueriesOnUiThread(enabled: Boolean = true) RealmConfiguration.Builder.allowWritesOnUiThread(enabled: Boolean = true)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Similar to Realm Java we should prevent people from making performance mistakes by querying or writing on the UI thread.
Given some KMP targets might not have a dedicated UI thread, we do need to decide what to do there:
uiThread
(which is what really matters) ormainThread
(which would match us checking the Main dispatcher.Suggested API:
The text was updated successfully, but these errors were encountered: