1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
include!(env!("BINDINGS")); use wit_bindgen::yield_async; struct Component; export!(Component); impl crate::exports::a::b::i::Guest for Component { async fn f() { for _ in 0..10 { yield_async().await; } } }