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
Add support for uploading. and downloading changes easily #2124
Conversation
Co-Authored-By: cmelchior <christian@ilios.dk>
Co-Authored-By: cmelchior <christian@ilios.dk>
Co-Authored-By: cmelchior <christian@ilios.dk>
Ready for review |
src/js_sync.hpp
Outdated
Function<T>::callback(protected_ctx, protected_callback, typename T::Object(), 1, callback_arguments); | ||
}); | ||
|
||
completion_func = std::move(completion_handler); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need to move twice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pattern was copied from add_progress_notification
, but not sure it is strictly needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just have some minor code style comments
Closes #2122
This PR adds two new API's:
These match the methods found in Realm Java.
TODO: