Skip to content

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

@lidm0707

Description

@lidm0707

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions