Skip to content

ResetCounter

ResetCounter = "never" | "after-min-stable" | { kind: "after-time"; ms: number; }

Defined in: src/pattern/BackoffSupervisor.ts:73

Reset rule for the consecutive-restart counter.

"never"

Never reset — the counter grows monotonically.


"after-min-stable"

Reset after the child has been alive for >= minBackoff ms.


{ kind: "after-time"; ms: number; }

Reset after the child has been alive for >= ms ms.