Method: Puppet::Transaction::EventManager#dequeue_all_events_for_resource
- Defined in:
- lib/puppet/transaction/event_manager.rb
#dequeue_all_events_for_resource(target) ⇒ 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.
85 86 87 88 89 90 91 |
# File 'lib/puppet/transaction/event_manager.rb', line 85 def dequeue_all_events_for_resource(target) callbacks = @event_queues[target] if callbacks && !callbacks.empty? target.info _("Unscheduling all events on %{target}") % { target: target } @event_queues[target] = {} end end |