pub fn new<F>(opaque: Box<F>) -> Interrupt where
    F: FnMut() -> bool