enum Honcho::ProcessMode

Defined in:

honcho/process_mode.cr

Enum Members

PERMANENT = 0

The process is intended to run forever, and will always be restarted after exiting, regardless of whether it exited normally or not.

ONE_SHOT = 1

The process is meant to run once, with no guarantee of successful completion. The process will never be restarted.

TRANSIENT = 2

The process is meant to run until successful completion. The process will only be restarted if it exits abnormally.

Instance Method Summary

Instance Method Detail

def one_shot? #

[View source]
def permanent? #

[View source]
def transient? #

[View source]