Module Ketrew_target.State.Count (.ml)

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

val consecutive_recent_attempts : Ketrew_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.