Expand description
Lazy service creation and policy-controlled reconnection.
Reconnect creates independent ReconnectService instances. Each instance
owns one pipeline-local readiness scope and creates its child on demand.
Failed requests are returned to the caller, never replayed automatically.
Structs§
- Default
Policy - Policy that permits reconnection after every error.
- Reconnect
- Factory for independent, lazily connected
ReconnectServiceinstances. - Reconnect
Service - Lazily creates a child service and replaces it after policy-approved errors.
Traits§
- Reconnect
Policy - Decides whether a service error permits retrying or replacing a connection.