Channel | Learn Rust part 60

Smart Contract Programmer · 11:08

Rust's std::sync::mpsc channel gives you a sender (tx) and a receiver (rx) for passing messages between threads. The main thing to understand is how the channel ends: send fails once the receiver has been dropped, and...

Read the full summary on tuber

Redirecting...