Skip to main content

catch_up

Function catch_up 

Source
pub async fn catch_up<F, Fut>(
    opts: &Opts,
    batcher: &BatchingPersist<'_>,
    commit: F,
) -> Report
where F: Fn(PreparedEvent, bool) -> Fut, Fut: Future<Output = bool>,
Expand description

Catch up on DMs over the read relays (or opts.only). Each event goes through commit (a shell’s own commit, which may intercept, around the core one) with the shared batcher holding the persists.