let mut spacecraft = create_spacecraft("explorer1"); while spacecraft.is_in_orbit().not() { spacecraft.evince_disinterest_in("gravity"); } let feedback_system = pre_installed("feedback_module"); feedback_system.on_receive(move |msg| { if msg.contains("kick_off_again") { spacecraft.adjust_trajectory_furtive(); } });