Class: BusinessFlow::InstrumentedExecutor
- Inherits:
-
DefaultStepExecutor
- Object
- DefaultStepExecutor
- BusinessFlow::InstrumentedExecutor
- Defined in:
- lib/business_flow/instrumented_executor.rb
Overview
Fire ActiveSupport events for every step that’s run and on errors
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from DefaultStepExecutor
Constructor Details
This class inherits a constructor from BusinessFlow::DefaultStepExecutor
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/business_flow/instrumented_executor.rb', line 6 def call f_class = flow.class f_class.instrument('flow', flow) do |payload| super notify_errors(f_class.event_name, payload) end end |