Skip to content
New issue

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

C-API: missing write_async API #5771

Closed
nirinchev opened this issue Aug 23, 2022 · 4 comments · Fixed by #5783
Closed

C-API: missing write_async API #5771

nirinchev opened this issue Aug 23, 2022 · 4 comments · Fixed by #5783
Assignees

Comments

@nirinchev
Copy link
Member

We need the API for begin_write_async and commit_async exposed via the C API.

@nicola-cab
Copy link
Member

I can have a look..

@nicola-cab
Copy link
Member

@nirinchev is this what you need exposed?
Realm::async_begin_transaction
Realm::async_commit_transaction

@nirinchev
Copy link
Member Author

Yes and we probably need to modify realm_is_writable to something like (*realm)->is_in_transaction() || (*realm)->is_in_async_transaction();

@nirinchev
Copy link
Member Author

Oh, we also need async_cancel_transaction.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants