A proxy which controls the Actor lifecycle
Used for reflecting on proxy objects themselves
# File lib/celluloid/proxies/actor_proxy.rb, line 7 def __class__; ActorProxy; end
# File lib/celluloid/proxies/actor_proxy.rb, line 21 def alive? @mailbox.alive? end
# File lib/celluloid/proxies/actor_proxy.rb, line 14 def inspect # TODO: use a system event to fetch actor state: tasks? "#<Celluloid::ActorProxy(#{@mailbox.address}) alive>" rescue DeadActorError "#<Celluloid::ActorProxy(#{@mailbox.address}) dead>" end
Generated with the Darkfish Rdoc Generator 2.