Open QuarkContainer opened 1 year ago
Can this support the async func? for example
use label::create_label;
create_label!(async fn test() -> ());
async fn my_fn() { println!("Test!"); }
fn main() { println!("calling all 'test' label"); // using iter you can go through all functions with this annotation. for i in test::iter() { i().await; } }
Can this support the async func? for example
use label::create_label;
create_label!(async fn test() -> ());
[test::label]
async fn my_fn() { println!("Test!"); }
fn main() { println!("calling all 'test' label"); // using iter you can go through all functions with this annotation. for i in test::iter() { i().await; } }