Function sp_consensus::import_queue::buffered_link::buffered_link [−][src]
pub fn buffered_link<B: BlockT>(
) -> (BufferedLinkSender<B>, BufferedLinkReceiver<B>)
Wraps around an unbounded channel from the futures
crate. The sender implements Link
and
can be used to buffer commands, and the receiver can be used to poll said commands and transfer
them to another link.