Skip to main contentCrate nostro2_ring_relay
Source - PoolConsumer
- Consumer side of the pool - reads events from all relays in a single thread
- PoolSender
- Sender handle for broadcasting messages to all connected relays.
- RelayConnection
- Handle to a relay WebSocket connection running in its own thread.
- RelayPool
- The relay pool — manages multiple WebSocket connections with bidirectional messaging.
- PoolMessage
- Messages that flow through the ring buffer from relay threads to consumer
- create_pool
- Helper function to create a new pool and producer for spawning connections