class CrystalTask::Middleware::Chain(T)

Defined in:

crystal_task/middleware/chain.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add(m : T) #

[View source]
def delete(m : T) #

[View source]
def exec(job : CrystalTask::Job, &block : -> Bool) #

[View source]
def insert_after(old_klass : Class, new_klass : T) #

[View source]
def insert_before(old_klass : Class, new_klass : T) #

[View source]
def middleware : Array(T) #

[View source]