hopr_transport_network::ping

Type Alias HeartbeatSendPingTx

Source
pub type HeartbeatSendPingTx = UnboundedSender<(PeerId, PingQueryReplier)>;
Expand description

Heartbeat send ping TX type

NOTE: UnboundedSender and UnboundedReceiver are bound only by available memory in case of faster input than output the memory might run out.

The unboundedness relies on the fact that a back pressure mechanism exists on a higher level of the business logic making sure that only a fixed maximum count of pings ever enter the queues at any given time.

Aliased Typeยง

struct HeartbeatSendPingTx(/* private fields */);