chore(sdk): Add a #[must_use] to `ThreadEventCacheStateLockWriteGuard::handle_sync.

This commit is contained in:
Ivan Enderlin
2026-03-19 10:06:22 +01:00
parent f15683bb32
commit bca26c81b1

View File

@@ -278,6 +278,7 @@ impl<'a> ThreadEventCacheStateLockWriteGuard<'a> {
Ok(())
}
#[must_use = "Propagate `VectorDiff` updates via `TimelineVectorDiffs`"]
pub async fn handle_sync(&mut self, events: Vec<Event>) -> Result<Vec<VectorDiff<Event>>> {
let DeduplicationOutcome {
all_events: events,