Function timeline_subscriber_handler

Source
pub async fn timeline_subscriber_handler(
    room: Room,
    timeline: Arc<Timeline>,
    timeline_update_sender: Sender<TimelineUpdate>,
    request_receiver: Receiver<Vec<BackwardsPaginateUntilEventRequest>>,
)
Expand description

A per-room async task that listens for timeline updates and sends them to the UI thread.

One instance of this async task is spawned for each room the client knows about.