We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d021a8 commit 13f9f6cCopy full SHA for 13f9f6c
crates/matrix-sdk/src/event_cache/room/mod.rs
@@ -1356,13 +1356,21 @@ mod private {
1356
}
1357
1358
1359
+/// Output of the callback passed to `RoomEventCacheState::with_events_mut`.
1360
pub(super) enum EventsPostProcessing {
1361
+ /// Trigger the post-processing when new events have been inserted.
1362
HaveBeenInserted(Vec<TimelineEvent>),
1363
+
1364
+ /// No post-processing.
1365
None,
1366
1367
1368
+/// An enum representing where an event has been found.
1369
pub(super) enum EventLocation {
1370
+ /// Event lives in memory (and likely in the store!).
1371
InMemory,
1372
1373
+ /// Event lives in the store only, it has not been loaded in memory yet.
1374
InStore,
1375
1376
0 commit comments