Obtain the Celluloid::Actor object for this thread
# File lib/celluloid/thread.rb, line 21 def actor self[:celluloid_actor] end
Obtain the call chain ID for this thread
# File lib/celluloid/thread.rb, line 36 def call_chain_id self[:celluloid_chain_id] end
# File lib/celluloid/thread.rb, line 5 def celluloid? true end
Obtain the Celluloid mailbox for this thread
# File lib/celluloid/thread.rb, line 31 def mailbox self[:celluloid_mailbox] end
Obtain the role of this thread
# File lib/celluloid/thread.rb, line 12 def role self[:celluloid_role] end
# File lib/celluloid/thread.rb, line 16 def role=(role) self[:celluloid_role] = role end
Obtain the Celluloid task object for this thread
# File lib/celluloid/thread.rb, line 26 def task self[:celluloid_task] end