class Async::Children
def delete(item)
def delete(item) if item.transient? @transient_count -= 1 end super end
def finished?
def finished? @size == @transient_count end
def initialize
def initialize super @transient_count = 0 end
def insert(item)
def insert(item) if item.transient? @transient_count += 1 end super end
def transients?
def transients? @transient_count > 0 end