single_value_channel
Non-blocking single value update and receive channel.
This module provides a latest-message style channel, where update sources can update the latest value that the receiver owns in a practically non-blocking way.
Unlike the mpsc::channel
each value send will overwrite the 'latest' value. See the documentation for
more details.
use channel_starting_with;
use thread;
let = channel_starting_with;
assert_eq!;
spawn.join;
assert_eq!;
Minimum supported rust compiler
This crate is maintained with latest stable rust.