class Synapse::Command::DispatchInterceptor
Interceptor wrapping a command dispatch that can add custom behavior before or after a command is dispatched to a command handler
@abstract
Public Instance Methods
intercept(command, unit, chain)
click to toggle source
@abstract @param [CommandMessage] command @param [UnitOfWork] unit The current unit of work for this command dispatch @param [InterceptorChain] chain @return [Object] The result of the execution of the command
# File lib/synapse/command/dispatch_interceptor.rb, line 13 def intercept(command, unit, chain) raise NotImplementedError end