SupervisorRestartEvent Type
A single restart, reported live from the supervision loop (see `Supervisor.OnRestart`) — not to be confused with the final `SupervisionOutcome.Restarts` count. Sealed with an internal constructor so it can gain fields without breaking the frozen API.
Instance members
| Instance member |
Description
|
|
The backoff delay the supervisor is about to sleep out before this restart.
|
Full Usage:
this.Program
Returns: string
|
The supervised command's program name.
|
Full Usage:
this.Restart
Returns: int
|
The 1-based lifetime restart number — matches `SupervisionOutcome.Restarts` once this restart becomes the last one.
|
ProcessKit API Reference