Skip to main content

position_advances

Function position_advances 

Source
pub(super) fn position_advances(
    current: Option<PduCount>,
    incoming: Option<PduCount>,
) -> bool
Expand description

Whether an incoming receipt position strictly advances the stored one.

An unresolved position on either side accepts. PduCount ordering places backfilled events below normal ones, so no separate branch is needed.