Linked actors send each other system events
Add an actor to the current links
# File lib/celluloid/links.rb, line 11 def <<(actor) @links[actor.mailbox.address] = actor end
Remove an actor from the links
# File lib/celluloid/links.rb, line 21 def delete(actor) @links.delete actor.mailbox.address end
Iterate through all links
# File lib/celluloid/links.rb, line 26 def each @links.each { |_, actor| yield(actor) } end
Generated with the Darkfish Rdoc Generator 2.