check

Function check 

Source
pub fn check() -> Result<(), CancellationError>
Expand description

Return an error when the process has been cancelled.