struct SerfHandler::Task

Included Modules

Defined in:

serf-handler/task.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(type : Symbol = :query, name : Nil | String = nil, order : Int32 = 0, description : String = "", &task : SerfHandler::Event -> String | Nil) #

[View source]

Class Method Detail

def self.from_h(hsh) #

[View source]

Instance Method Detail

def <=>(another_task) #

[View source]
def call(*args) #

[View source]
def description : String #

[View source]
def name : String | Nil #

[View source]
def order : Int32 #

[View source]
def task : Proc(SerfHandler::Event, String | Nil) #

[View source]
def to_h #

[View source]
def to_named_tuple #

[View source]
def type : Symbol #

[View source]