Chan

Type Alias Chan 

Source
pub type Chan<P> = Chan<P, Sender, Receiver>;
Expand description

Shorthand for a Chan using a null Sender and Receiver.

§Examples

use dialectic::prelude::*;
use dialectic::types::Done;
use dialectic_null as null;

let _: (null::Chan<Done>, null::Chan<Done>) =
    Done::channel(null::channel);

Aliased Type§

#[repr(C)]
pub struct Chan<P> { /* private fields */ }