Module: Actor::Supervisor::Address::Get

Defined in:
lib/actor/supervisor/address/get.rb

Class Method Summary collapse

Class Method Details

.call(thread_group = nil) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/actor/supervisor/address/get.rb', line 5

def self.call thread_group=nil
  thread_group ||= Thread.current.group

  Registry.fetch thread_group do
    Messaging::Address::None.instance
  end
end