chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
use async_stream::stream;
use futures_util::pin_mut;
use futures_util::stream::StreamExt;
use tokio::net::TcpListener;
#[tokio::main]
async fn main() {
let listener = TcpListener::bind("127.0.0.1:0").await.unwrap();
let incoming = stream! {
loop {
let (socket, _) = listener.accept().await.unwrap();
yield socket;
}
};
pin_mut!(incoming);
while let Some(v) = incoming.next().await {
println!("handle = {:?}", v);
}
}