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
-
#spawn(*args, **kwargs, &body) ⇒ Pid
Optionally included shortcut method for Functions#spawn_actor
-
#terminate(pid, reason) ⇒ true
Optionally included shortcut method for Functions#terminate_actor
Instance Method Details
#spawn(*args, **kwargs, &body) ⇒ Pid
Optionally included shortcut method for Functions#spawn_actor
# 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
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 544
def terminate(pid, reason) terminate_actor(pid, reason) end