Skip to main content

ThreadReceiver

Type Alias ThreadReceiver 

Source
type ThreadReceiver<T> = Mutex<Option<UnboundedReceiver<(UnboundedSender<T>, Command)>>>;
Expand description

Custom type for the thread receiver, so clippy doesn’t complain about long types.

Aliased Type§

struct ThreadReceiver<T> { /* private fields */ }