Class: EventSourcing::Application::Actor::Reference
- Inherits:
-
Concurrent::Actor::Reference
- Object
- Concurrent::Actor::Reference
- EventSourcing::Application::Actor::Reference
- Defined in:
- lib/event_sourcing/application/actor/reference.rb
Instance Method Summary collapse
Instance Method Details
#execute_command(command) ⇒ Object
8 9 10 |
# File 'lib/event_sourcing/application/actor/reference.rb', line 8 def execute_command(command) command_bus.tell(command) end |
#terminate! ⇒ Object
12 13 14 |
# File 'lib/event_sourcing/application/actor/reference.rb', line 12 def terminate! tell(:terminate!) end |