Expand description
Native callback streams over the backend subscription router.
Clients share a wire only when they share an API client Arc and host. The registry retains the API client, so its address cannot be reused. Retryable wire failures keep leases alive and reconnect with backoff. Each callback stream reports close on terminal failure or explicit close.
Traits§
- ApiClient
Identity - Stable identity of the Arc that owns a backend API client.
Functions§
- resume_
bidi_ streams - Resume shared wires. Reconnect and target processing continue in their tasks.
- stream_
conversation_ messages_ with_ callback_ dispatch - suspend_
bidi_ streams - Suspend every shared wire and remember the intent for new wires.