Skip to main content

Module shared_wires

Module shared_wires 

Source
Expand description

The process registry of native shared Bidi transports, and the suspension intent that every new transport inherits.

Clients share a wire only with the same API client Arc, host, and admitted limits. Each client factory owns its transport. The registry keeps only weak handles. A live transport retains the API client, so its address cannot be reused.

Traits§

ApiClientIdentity
Stable identity of the Arc that owns a backend API client.

Functions§

resume
Resume shared wires and clear the intent for wires created later. Reconnect and target processing continue in their tasks.
suspend
Suspend every shared wire and remember the intent for wires created later. Returns after every live wire acknowledges, with the first failure other than a closed wire.