rig-harness 0.45.0

The harness of the rig coding agent on the rig-ecs kernel: the session and the launcher protocol; every other part is a Bevy plugin crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::Signals;

#[test]
fn signals_a_millisecond_apart_ask_for_one_exit_and_force_none() {
    let signals = Signals::new();
    assert!(!signals.take());
    assert!(!signals.signal());
    std::thread::sleep(std::time::Duration::from_millis(1));
    assert!(!signals.signal());
    assert!(signals.take());
    assert!(!signals.take());
}