Skip to main content

Module router_callbacks

Module router_callbacks 

Source
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§

ApiClientIdentity
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.