abstract class PipelineCR::Stage(T, U)

Defined in:

pipelinecr/stage.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class PipelineCR::Pipeable(T, U)

>>(other : PipelineCR::Pipeable(U, V)) forall V >>, run(input : Channel(T), output : Channel(U), host : Channel(Int32)) run

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.*(amount : Int32) #

[View source]

Instance Method Detail

def on_close #

[View source]
def on_error(pkg : T, ex : Exception) #

[View source]
def run(input : Channel(T), output : Channel(U), host : Channel(Int32)) #

[View source]
abstract def task(pkg : T) : U | Nil | Enumerable(U) | Nil #

[View source]