lib/polyphony/extensions/fiber.rb
# Adds a child fiber reference. Used internally.
#
# @param child_fiber [Fiber] child fiber
# @return [Fiber] self
Adds a child fiber reference. Used internally.
Adds a child fiber reference . Used internally .
def add_child(child_fiber)
      (@children ||= {})[child_fiber] = true
      child_fiber.monitor(self) if @supervise_mode
      self
    end
def add_child ( child_fiber ) ( @children ||= { } ) [ child_fiber ] = true child_fiber . monitor ( self ) if @supervise_mode self end
Adds a child fiber reference.
Adds a child fiber reference .
None
Fiber
child_fiber
None