Skip to main content

allow_interruption

Function allow_interruption 

Source
pub fn allow_interruption() -> bool
Expand description

Asks the installed interruption handler whether the current computation should be interrupted; false when no handler is installed.

This is what igraph functions do internally; Rust code built on this crate can call it to honor the same cancellation requests.

Binds igraph_allow_interruption (see igraph_interrupt.h).