/// Construct a new LocalNodeCommsInterface with the specified SenderService.
Construct a new LocalNodeCommsInterface with the specified SenderService.
Construct a new LocalNodeCommsInterface with the specified SenderService .
pub fn new(
        request_sender: SenderService<NodeCommsRequest, Result<NodeCommsResponse, CommsInterfaceError>>,
        block_sender: SenderService<(Block, Broadcast), Result<(), CommsInterfaceError>>,
        block_event_sender: BlockEventSender,
    ) -> Self
    {
        Self {
            request_sender,
            block_sender,
            block_event_sender,
        }
    }
pub fn new ( request_sender : SenderService < NodeCommsRequest , Result < NodeCommsResponse , CommsInterfaceError > > , block_sender : SenderService < ( Block , Broadcast ) , Result < ( ) , CommsInterfaceError > > , block_event_sender : BlockEventSender , ) -> Self { Self { request_sender , block_sender , block_event_sender , } }
Construct a new LocalNodeCommsInterface with the specified SenderService.
Construct a new LocalNodeCommsInterface with the specified SenderService .
request_sender
SenderService<NodeCommsRequest, Result<NodeCommsResponse, CommsInterfaceError>>
block_sender
SenderService<(Block, Broadcast), Result<(), CommsInterfaceError>>
block_event_sender
BlockEventSender