Cotal TypeScript packages
    Preparing search index...

    Function readSupervise

    • Read a spawn's supervise as the restart policy this host can enforce: restarts, a positive integer of in-window process deaths the manager may restart under the same handle, and window, an optional duration (default 10m) those deaths are counted in. Anything else is a policy this host has no restart for, and a policy it cannot enforce is refused loudly rather than accepted as a silent no-op.

      Parameters

      • raw: unknown
      • persona: string

      Returns AgentSupervise