1 2 3 4 5 6 7 8 9 10
use split_async::split; fn sync_fn() {} fn async_fn() {} #[split] async fn func() { choose!("fn")(); }