Class: Trailblazer::Operation::Pipetree::Switch
- Inherits:
-
Pipetree::Railway::Strut
- Object
- Pipetree::Railway::Strut
- Trailblazer::Operation::Pipetree::Switch
- Defined in:
- lib/trailblazer/operation/pipetree.rb
Overview
The Strut wrapping each step. Makes sure that Track signals are returned immediately.
Constant Summary collapse
- Decider =
->(result, config, *args) do return result if result.is_a?(Class) && result <= Railway::Track # this might be pretty slow? config[:decider_class].(result, config, *args) # e.g. And::Decider.(result, ..) end