// The `heartbeat` function is called periodically
The `heartbeat` function is called periodically
The ` heartbeat ` function is called periodically
pub fn heartbeat(&mut self) {
        if self.process_handle.is_none() {
            return;
        }
        if Instant::now() - self.last_accessed > EXPIRY_DURATION {
            debug!("Shutting down unused function {:?}", self.process_handle);
            self.process_handle = None
        }
    }
pub fn heartbeat ( & mut self ) { if self . process_handle . is_none ( ) { return ; } if Instant :: now ( ) - self . last_accessed > EXPIRY_DURATION { debug ! ( " " self process_handle ) ; self . process_handle = None } }
The `heartbeat` function is called periodically
The ` heartbeat ` function is called periodically
&mut self