class Celluloid::CallChain - celluloid-0.15.2 Documentation

# class Celluloid::CallChain

### Public Class Methods

current_id() click to toggle source

    # File lib/celluloid/call_chain.rb, line 9
    def self.current_id
      Thread.current[:celluloid_chain_id]
    end

current_id=(value) click to toggle source

    # File lib/celluloid/call_chain.rb, line 3
    def self.current_id=(value)
      Thread.current[:celluloid_chain_id] = value
      task = Thread.current[:celluloid_task]
      task.chain_id = value if task
    end