I know std::sync::mpsc;
is used to create a multi production and single consumption channel,In that case, why is there no design of more production and more consumption, or single production and more consumption, If there is a similar one, I think I don't need to use rabbitmq, kafaka pulsar and so on. I can use Rust to do MQ lol~
use std::sync::mpsc;
use std::thread;
fn main(){
let (tx, yx) = mpsc::channel()
thread::spawn(move || {
tx.send(String::from("rust :)")).unwrap();
});
}