My View show some data subscribed to a realm publisher. So if I insert some new objects to the realm db, the realm publisher will send a new data list to the subscriber and the view will be refreshed.
The problem is that when I insert N data into realm db, the publisher will send a new data list to the subscriber for each inserted object. As a result, the view will be refreshed N times which will cause a CPU peek.
Is there any method to control the frequency of the realm publisher?
Thanks