lib/polyphony/extensions/fiber.rb
# Block until all child fibers have terminated. Returns the return values
# for all child fibers.
#
# @return [Array<any>] return values of child fibers
Block until all child fibers have terminated. Returns the return values
for all child fibers.
Block until all child fibers have terminated . Returns the return values for all child fibers .
def await_all_children
      return unless @children && !@children.empty?
      Fiber.await(*@children.keys.reject { |c| c.dead? })
    end
def await_all_children return unless @children && ! @children . empty? Fiber . await ( * @children . keys . reject { | c | c . dead? } ) end
Block until all child fibers have terminated.
Block until all child fibers have terminated .
return values of child fibers
return values of child fibers
Array<any>