class Bud::PushStatefulElement

Public Instance Methods

add_rescan_invalidate(rescan, invalidate) click to toggle source
# File lib/bud/executor/elements.rb, line 378
def add_rescan_invalidate(rescan, invalidate)
  if non_temporal_predecessors.any? {|e| rescan.member? e}
    rescan << self
    invalidate << self
  end

  # Note that we do not need to pass rescan requests up to our source
  # elements, since a stateful element has enough local information to
  # reproduce its output.
  invalidate_tables(rescan, invalidate)
end