pub trait PreviousEventsProvider: Send + Sync {
    // Required method
    fn for_room(&self, room_id: &RoomId) -> Vector<SyncTimelineEvent>;
}
Expand description

Provider for timeline events prior to the current sync.

Required Methods§

source

fn for_room(&self, room_id: &RoomId) -> Vector<SyncTimelineEvent>

Returns the list of known timeline events, in sync order, for the given room.

Implementations on Foreign Types§

source§

impl PreviousEventsProvider for ()

Implementors§