Module Ketrew_pure.Target.State.Count

module Count: sig .. end
A module providing functions t -> int to provide counts.

val consecutive_recent_attempts : Ketrew_pure.Target.State.t -> int
Count how many times a current non-fatal failure state “repeats.” I.e. how many `Tried_to_... state form recent history of the target.