blob: 37fcd3479cc821c141d1e95ccab2d241b7ff44a1 [file] [log] [blame]
use async_stream::stream;
fn main() {
async fn work() {}
stream! {
tokio::select! {
_ = work() => yield fn f() {},
}
};
}