Logo ProcessKit API Reference

SupervisionOutcome Type

What a finished supervision reports — the last run plus the keeper's telemetry. Sealed with an internal constructor so it can gain fields without breaking the frozen API.

Instance members

Instance member Description

this.FinalResult

Full Usage: this.FinalResult

Returns: ProcessResult<string>

The result of the final run (the one that ended supervision).

Returns: ProcessResult<string>

this.Restarts

Full Usage: this.Restarts

Returns: int

How many times the child was *re*-run (the first run is not a restart): `Restarts = 2` means three runs happened.

Returns: int

this.Stopped

Full Usage: this.Stopped

Returns: StopReason

Why supervision stopped.

Returns: StopReason

this.StormPauses

Full Usage: this.StormPauses

Returns: int

How many times the failure-storm guard paused restarts (always `0` unless `StormPause` is set).

Returns: int

Type something to start searching.