internal library
Infrastructure primitives for integrations that own stream lifetimes.
This is an explicit integration surface, not a re-export of package internals. Stream helpers do not serialize data or manage transport flow-control credit.
Classes
-
BoundedStreamBridge<
T> - A lazy, terminal-on-error bridge with one explicitly bounded queue.
- RpcBufferBudget
- Two-dimensional accounting for a single queue. It owns no payloads.
- RpcStreamBufferLedger
- Bounds how many bytes one stream may hold un-consumed in a queue.
-
StreamBridge<
T> - Mirrors a source while forwarding demand and owning both cancellation paths.
- StreamBridgeStats
- Payload-free counters for one bounded bridge.
- StreamBufferLimits
- Limits on one application queue; null disables an individual bound.
-
StreamSource<
T> - Owns one source subscription, without adding a controller or a queue.
Enums
- RpcBufferAdmission
- What RpcStreamBufferLedger.admit decided about one message.
Exceptions / Errors
- RpcPeerFaultException
- Raised because the PEER sent something invalid: a second request on a call that carries one, or a payload the request codec could not decode.