Improve ResourceIndex::update_one()
for More Detailed Events
#89
Labels
enhancement
New feature or request
ResourceIndex::update_one()
for More Detailed Events
#89
Currently,
ResourceIndex::update_one()
returns aResult<IndexUpdate<Id>>
, which basically just includes a couple of hashsets for added and removed resources. This is simple so that it matches the return type ofupdate_all()
.However, we should consider enhancing
update_one
to provide more detailed events. This could make the Track API and Watch API more powerful compared to the Reactive API. The goal is to support finer-grained events, similar to whatnotify-rs
offers, including not just add/remove events but also rename and modify events.For more context, see #36 (comment)
The text was updated successfully, but these errors were encountered: