ReadonlyisWhether this policy retries the given error at all.
ReadonlyscheduleSchedule 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.
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
scheduleis a plain EffectSchedule, so it can also be handed straight toEffect.retry,Effect.repeat, orStream.retry.