Skip to content

mpsc::Sender::try_send does not work! #2287

@andreytkachenko

Description

@andreytkachenko

Consider this example:

use futures::channel::mpsc;

fn main() {
    let (tx, rx) = mpsc::channel(1);
    
    for i in 0..100 {
        tx.clone().try_send(i).unwrap();
    }
    
    println!("BAM!!!")
}

And you will see the message in the console!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-channelArea: futures::channel

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions