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

    Interface ModbusRetryPolicy

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

    Produced by makeRetryPolicy 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], ModbusError>;
    }
    Index
    isRetryable: (error: ModbusError) => boolean

    Whether this policy retries the given error at all.

    schedule: Schedule<[number, ModbusError], ModbusError>

    Schedule driving the retries. Its input is the failing ModbusError, its output the [retryIndex, error] pair that produced the delay.