Tasker::Pipeline(Input, Output)
Inherits Tasker::Processor < Reference < Object
a lossy pipeline for realtime processing so any outputs are as up to date as possible. This means some results might be ignored at various stages in the pipeline.
Constructors
new(name : String | Nil = nil, &work : Input -> Output)
SourceInstance methods
chain(name : String | Nil = @name, &work : Output -> _)
push the output of this pipeline task into the input of the next task, if that task is idle
chain(task : Pipeline(Output))
push the output of this pipeline task into the input of the next task, if that task is idle
subscribe(subscription : Subscription(Output))
push all the outputs of this task to the subscriber