Resolve search results race condition
Iiridayn opened this issue · comments
Michael Clark commented
When querying for initial results to a search condition, processing the results, then subscribing to changes, there is a small gap during which a change can slip in undetected. Fortunately, rethinkdb offers a convenient method to subscribe to both the changes and the initial dataset at the same time. We should use it since they've made it so simple to use.
Code will be supplied, per usual.