class Async::Barrier
def initialize(parent: nil)
@parameter parent [Task | Semaphore | Nil] The parent for holding any children tasks.
Initialize the barrier.
def initialize(parent: nil) @tasks = List.new @parent = parent end
def initialize(parent: nil) @tasks = List.new @parent = parent end