unbounded

Function unbounded 

Source
pub fn unbounded<T>() -> (UnboundedSender<T>, UnboundedReceiver<T>)
Expand description

Create an unbounded channel. This will dynamically allocate whenever the internal buffer is full and a new message is added.

The names of the UnboundedSender and UnboundedReceiver are specifically chosen to be less ergonomic than the [bounded] channels. Please consider using a bounded channel instead for performance reasons.