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

    Interface ModbusRetryPolicy

    A resolved retry policy: a schedule plus the predicates that produced it.

    Produced by createRetryPolicy or a RetryPolicies preset, and attached to a transport or client (or piped with retryModbus). The schedule is a plain Effect Schedule, so it can also be handed straight to Effect.retry, Effect.repeat, or Stream.retry.

    interface ModbusRetryPolicy {
        isRetryable: (error: ModbusError) => boolean;
        schedule: Schedule<number, ModbusError>;
    }
    Index
    isRetryable: (error: ModbusError) => boolean

    Whether this policy retries the given error at all.

    schedule: Schedule<number, ModbusError>

    Schedule driving the retries. Its input is the failing ModbusError, its output the zero-based retry index.

    v4 exposes the failing input on the schedule metadata, so the output no longer needs to carry the [retryIndex, error] pair v3 produced.