use bevy::prelude::In; use bevy_flurx::action::once; use bevy_flurx::prelude::Action; use bevy_flurx_ipc::ipc_handlers; use bevy_flurx_ipc_macro::command; #[command] fn hello(name: In) -> Action { once::run(|In(_): In| {}).with(name.0) } #[command] fn hello2(In((name, _num)): In<(String, usize)>) -> Action { once::run(|In(_): In| {}).with(name) } fn main() { ipc_handlers![]; ipc_handlers![ hello, hello2 ]; }