use ohos_node_bindgen::derive::node_bindgen; #[ohos_node_bindgen] fn example(cb: F,second: i32) { cb(second); } fn example2(first: i32,cb: F) { cb(format!("hello world: {}",first),first as i64); } fn main() { }