Class: Mutant::Actor::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/mutant/actor.rb

Overview

Message being exchanged between actors

Class Method Summary collapse

Class Method Details

.new(_type, _payload = Undefined) ⇒ Message

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

New message

Parameters:

  • type (Symbol)
  • payload (Object)

Returns:



35
36
37
# File 'lib/mutant/actor.rb', line 35

def self.new(_type, _payload = Undefined)
  super
end