[−][src]Function secc::create
pub fn create<T: Sync + Send>(
capacity: u16,
poll_ms: u16
) -> (SeccSender<T>, SeccReceiver<T>)
Creates the sender and receiver sides of this channel and returns them as a tuple. The user
can pass both a channel capacity
and a poll_ms
which govern how long operations that
wait on the channel will poll.