@flux-control/effect-modbus-rs
    Preparing search index...

    Interface TransportResilienceOptions

    Resilience configuration accepted by every transport service alongside its modbus-rs options.

    Both are opt-in: with neither set, a transport behaves exactly as it always has — one attempt per operation, reconnection only when asked for.

    interface TransportResilienceOptions {
        reconnect?: ReconnectOptions;
        retry?: ModbusRetryPolicy;
    }
    Index
    reconnect?: ReconnectOptions

    Hands reconnection to a supervisor fiber owned by this transport, and enables the circuit breaker that keeps callers off a dead bus.

    Retry policy applied to every operation of every client from this transport. Overridable per client and per operation.