OutboundBufferOverflow constructor
Thrown when an OutboundQueue would exceed its byte bound.
The connection that owns the queue should be torn down when this is raised: a peer that cannot keep up with the outgoing stream is treated as gone. For a CRDT the data is not lost — the peer re-syncs from its version vector on the next handshake.
Constructor
Implementation
const OutboundBufferOverflow({
required this.attemptedBytes,
required this.maxBufferSize,
});