Function dvcompute::simulation::process::when_cancelling_process [−][src]
pub fn when_cancelling_process<M>(comp: M) -> WhenCancelling<M> where
M: Observer<Message = (), Item = ()> + 'static,
Expand description
Register a handler that will be invoked in case of cancelling the current process.