Type Definition dialectic_tokio_mpsc::UnboundedChan[][src]

type UnboundedChan<P> = Chan<P, UnboundedSender, UnboundedReceiver>;

Shorthand for a Chan using an unbounded UnboundedSender and UnboundedReceiver.

Examples

use dialectic::prelude::*;
use dialectic::types::Done;
use dialectic_tokio_mpsc as mpsc;

let _: (mpsc::UnboundedChan<Done>, mpsc::UnboundedChan<Done>) =
    Done::channel(mpsc::unbounded_channel);