123456789_123456789_123456789_123456789_123456789_

Module: Concurrent::ErlangActor::FunctionShortcuts

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Extended In:
Defined in: lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb

Overview

Constrains shortcuts for methods in Functions.

Instance Method Summary

Instance Method Details

#spawn(*args, **kwargs, &body) ⇒ Pid

Optionally included shortcut method for Functions#spawn_actor

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 538

def spawn(*args, **kwargs, &body)
  spawn_actor(*args, **kwargs, &body)
end

#terminate(pid, reason) ⇒ true

Optionally included shortcut method for Functions#terminate_actor

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 544

def terminate(pid, reason)
  terminate_actor(pid, reason)
end