[][src]Function sarchive::archive::process

pub fn process(
    archiver: Box<dyn Archive>,
    r: &Receiver<Box<dyn JobInfo>>,
    sigchannel: &Receiver<bool>,
    cleanup: bool
) -> Result<(), Error>

The process function consumes job entries and call the archive function for each received entry. At the same time, it also checks if there is an incoming notification that it should stop processing. Upon receipt, it will cease operations immediately.