[−][src]Function secc::create
pub fn create<T: Sync + Send + Clone>(
capacity: u16,
poll_timeout: Duration
) -> (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
Duration
which govern how often operations
that wait on the channel will poll.