10 lines
118 B
Rust
10 lines
118 B
Rust
use async_stream::stream;
|
|
|
|
fn main() {
|
|
stream! {
|
|
fn foo() {
|
|
yield "hello";
|
|
}
|
|
};
|
|
}
|