realm-swift
realm-swift copied to clipboard
Add withoutNotifying support for asyncWrite / writeAsync
Problem
Background: https://github.com/realm/realm-swift/issues/6760
This was added to realm.write - would be amazing to have for asyncWrite and writeAsync
Solution
No response
Alternatives
No response
How important is this improvement for you?
Would be a major improvement
Feature would mainly be used with
Local Database only
need too
Bumping this issue as I'm running into this issue again
Added context: I had to transition away from synchronous realm writes in order to eliminate a bunch of crashing instability, and now use async exclusively (behind the same actor for writing, too) which has worked alright except now I've lost this critical functionality
Can you give a concrete example of what the code using it looks like? The use-case which originally motivated withoutNotifying:
specifically required that the write be synchronous, so my concern with exposing it on asyncWrite is that it might be something that looks like it'll work but actually just blows up when things are scheduled in a certain way. If you are doing something that'll work with the current design, exposing it should be trivial.