take_while_same_epoch

Function take_while_same_epoch 

Source
pub fn take_while_same_epoch<I>(
    iter: I,
) -> impl Iterator<Item = Result<CommitSummary>>
where I: Iterator<Item = Result<CommitSummary>>,
Expand description

Adapter to take results while the epoch is the same as the first one encountered.