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.

Return new message

Parameters:

  • type (Symbol)
  • payload (Object)

Returns:


37
38
39
# File 'lib/mutant/actor.rb', line 37

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