Skip to main content

sync_peers_with

Function sync_peers_with 

Source
pub(super) async fn sync_peers_with<F, Fut>(
    store: Arc<Store>,
    peers: &[Peer],
    seen: &mut HashMap<String, Synced>,
    call: &F,
    now: Instant,
    report: &Status,
)
where F: Fn(String, &'static str, Value) -> Fut, Fut: Future<Output = RemoteOpResult>,
Expand description

sync_peers, with the status it reports to given, so a test reads its own.