◆ constructor()
Pipeline::constructor | ( | flowElements = []
| ) |
inline
Constructor for Pipeline.
- Parameters
-
- {FlowElements[]} - flowElements list of FlowElements to add to the Pipeline
◆ createFlowData()
◆ getElement()
Pipeline::getElement ( key ) inlineget a FlowElement by its dataKey
- Parameters
-
- {string} - key the datakey of the FlowElement
- Returns
- {FlowElement} the FlowElement for the datakey
◆ log()
Pipeline::log ( type, message ) inlineShorthand to trigger a message on the pipeline's eventEmitter.
- Parameters
-
- {string} - type type of message
- {mixed} - message message to store in the log
◆ on()
Pipeline::on ( listener, callback ) inlineMethod to attach listeners to the logger Shorthand access to the enclosed event emitter.
- Parameters
-
- {string} - listener type of message to listen to
- {Function} - callback a callback to react to the log