Module: Concurrent::ErlangActor::FunctionShortcuts

Included in:
Concurrent::ErlangActor
Defined in:
lib-edge/concurrent/edge/erlang_actor.rb

Overview

Constrains shortcuts for methods in Functions.

Instance Method Summary collapse

Instance Method Details

#spawn(*args, &body) ⇒ Pid

Optionally included shortcut method for Concurrent::ErlangActor::Functions#spawn_actor

Returns:



534
535
536
# File 'lib-edge/concurrent/edge/erlang_actor.rb', line 534

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

#terminate(pid, reason) ⇒ true

Optionally included shortcut method for Concurrent::ErlangActor::Functions#terminate_actor

Returns:

  • (true)


540
541
542
# File 'lib-edge/concurrent/edge/erlang_actor.rb', line 540

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