class Async::Children
A list of children tasks.
def added(node)
def added(node) if node.transient? @transient_count += 1 end return super end
def finished?
def finished? @size == @transient_count end
def initialize
def initialize super @transient_count = 0 end
def nil?
def nil? empty? end
def removed(node)
def removed(node) if node.transient? @transient_count -= 1 end return super end
def transients?
Some children may be marked as transient. Transient children do not prevent the parent from finishing.
def transients? @transient_count > 0 end