module PipelineAction

Overview

Acts as an interface for actions to be processed by a Pipeline.

Direct including types

Defined in:

cr-pipeline/pipeline-action.cr

Instance Method Summary

Instance Method Detail

abstract def invoke(payload : Object) : Object #

The method called by the Pipeline.

payload is passed from the Pipeline to the PipelineAction, somepayload done with/to it, and should be returned.


[View source]