Method: LiveQueryPool#updated_collection

Defined in:
app/volt/tasks/live_query/live_query_pool.rb

#updated_collection(collection, skip_channel) ⇒ Object



16
17
18
19
20
# File 'app/volt/tasks/live_query/live_query_pool.rb', line 16

def updated_collection(collection, skip_channel)
  lookup_all(collection).each do |live_query|
    live_query.run(skip_channel)
  end
end