async fn broadcast_advert(count: usize, handler: &P2PEventHandlerImpl) {
        for i in 0..count {
            let message = make_gossip_advert(i as u64);
            handler.broadcast_advert(message, AdvertClass::Critical);
        }
    }
/// The function broadcasts the given number of adverts.
The function broadcasts the given number of adverts.
The function broadcasts the given number of adverts .
async fn broadcast_advert(count: usize, handler: &P2PEventHandlerImpl) {
        for i in 0..count {
            let message = make_gossip_advert(i as u64);
            handler.broadcast_advert(message, AdvertClass::Critical);
        }
    }
async fn broadcast_advert ( count : usize , handler : & P2PEventHandlerImpl ) { for i in 0 .. count { let message = make_gossip_advert ( i as u64 ) ; handler . broadcast_advert ( message , AdvertClass :: Critical ) ; } }
The function broadcasts the given number of adverts.
The function broadcasts the given number of adverts .
count
usize
handler
&P2PEventHandlerImpl
count
usize
handler
&P2PEventHandlerImpl