Method: Listen::QueueOptimizer#smoosh_changes
- Defined in:
- lib/listen/queue_optimizer.rb
#smoosh_changes(changes) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/listen/queue_optimizer.rb', line 22 def smoosh_changes(changes) # TODO: adapter could be nil at this point (shutdown) = changes.group_by do |_, _, _, _, | ( || {})[:cookie] end _squash_changes(()) end |