actix-extras icon indicating copy to clipboard operation
actix-extras copied to clipboard

In actix-ws v0.3.0 Crates.io, that example is wrong!

Open lidm0707 opened this issue 5 months ago • 1 comments

""" actix_web::rt::spawn(async move { while let Some(Ok(msg)) = msg_stream.next().await { """

Now we don't use .next() but .recv() .

lidm0707 avatar Jul 16 '25 14:07 lidm0707

.next() is from the StreamExt trait, but you're right that the import of it isn't shown on the README

robjtede avatar Jul 18 '25 09:07 robjtede