Class: Synapse::Command::DispatchInterceptor Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/synapse/command/dispatch_interceptor.rb

Overview

This class is abstract.

Interceptor wrapping a command dispatch that can add custom behavior before or after a command is dispatched to a command handler

Instance Method Summary collapse

Instance Method Details

#intercept(command, unit, chain) ⇒ Object

This method is abstract.

Returns The result of the execution of the command.

Parameters:

Returns:

  • (Object)

    The result of the execution of the command



13
# File 'lib/synapse/command/dispatch_interceptor.rb', line 13

def intercept(command, unit, chain); end