struct Honcho::Process

Defined in:

honcho/process.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, supervisor : Channel(Message), **options, &proc : -> ) #

[View source]

Instance Method Detail

def alive=(alive : Bool) #

[View source]
def alive? : Bool #

[View source]
def fiber : Fiber | Nil #

[View source]
def fiber=(fiber : Fiber | Nil) #

[View source]
def kill #

[View source]
def mode : ProcessMode #

[View source]
def mode=(mode : ProcessMode) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def proc : -> #

[View source]
def proc=(proc : -> ) #

[View source]
def restart #

[View source]
def restart_delay : Float64 #

Number of seconds to wait before restarting this process


[View source]
def restart_delay=(restart_delay : Float64) #

Number of seconds to wait before restarting this process


[View source]
def run #

[View source]
def supervisor : Channel(Message) #

[View source]
def supervisor=(supervisor : Channel(Message)) #

[View source]