batch-cluster
Version:
Manage a cluster of child processes
6 lines (5 loc) • 383 B
TypeScript
/**
* Reasons why a BatchProcess might not be healthy
*/
export type WhyNotHealthy = "broken" | "closed" | "ending" | "ended" | "idle" | "old" | "proc.close" | "proc.disconnect" | "proc.error" | "proc.exit" | "stderr.error" | "stderr" | "stdin.error" | "stdout.error" | "timeout" | "tooMany" | "startError" | "unhealthy" | "worn";
export type WhyNotReady = WhyNotHealthy | "busy";