Skip to main content

set_epoch_end_fields

Function set_epoch_end_fields 

Source
pub fn set_epoch_end_fields(
    message: &mut Epoch,
    read_mask: &FieldMaskTree,
    epoch_info: &EpochInfo,
)
Expand description

Set the end-of-epoch fields read_mask selects from epoch_info. Call it exactly when the response serves the epoch’s last_checkpoint, so the end fields appear together with it.