class Celluloid::LinkingRequest

Request to link with another actor

Attributes

actor[R]
type[R]

Public Instance Methods

process(links) click to toggle source
# File lib/celluloid/system_events.rb, line 57
def process(links)
  case type
  when :link   then links << actor
  when :unlink then links.delete actor
  end

  actor.mailbox << LinkingResponse.new(Actor.current, type)
end