-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
2 - S (<= 1 week)
-
6454
-
Not Needed
Describe your problem or use case
When a callback is fired due to a change in App or SyncUser, it could be useful if the event is part of the callback. It will help the app develoer to know how to react to the change.
Describe the solution you'd like
user.subscribe([=](const realm::SyncUserChangeEvent event, const realm::SyncUser& user) { /* ... */ }); app.subscribe([=](const realm::AppChangeEvent event, const realm::app::App& app) { /* ... */ });