Function sp_consensus::import_queue::buffered_link::buffered_link
source · [−]pub fn buffered_link<B: BlockT>(
) -> (BufferedLinkSender<B>, BufferedLinkReceiver<B>)
Expand description
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.