pub fn chain_segment(
        process_id: ProcessId,
        blocks: Vec<SignedBeaconBlock<T::EthSpec>>,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::ChainSegment { process_id, blocks },
        }
    }
/// Create a new work event to import `blocks` as a beacon chain segment.
Create a new work event to import `blocks` as a beacon chain segment.
Create a new work event to import ` blocks ` as a beacon chain segment .
pub fn chain_segment(
        process_id: ProcessId,
        blocks: Vec<SignedBeaconBlock<T::EthSpec>>,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::ChainSegment { process_id, blocks },
        }
    }
pub fn chain_segment ( process_id : ProcessId , blocks : Vec < SignedBeaconBlock < T :: EthSpec > > , ) -> Self { Self { drop_during_sync : false , work : Work :: ChainSegment { process_id , blocks } , } }
Create a new work event to import `blocks` as a beacon chain segment.
Create a new work event to import ` blocks ` as a beacon chain segment .
process_id
ProcessId
blocks
Vec<SignedBeaconBlock<T::EthSpec>>