Method: Puppet::Transaction::EventManager#queued_events
- Defined in:
- lib/puppet/transaction/event_manager.rb
#queued_events(resource) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
117 118 119 120 121 122 123 124 |
# File 'lib/puppet/transaction/event_manager.rb', line 117 def queued_events(resource) callbacks = @event_queues[resource] return unless callbacks callbacks.each do |callback, events| yield callback, events unless events.empty? end end |