Method: Puppet::Transaction::EventManager#dequeue_events_for_resource

Defined in:
lib/puppet/transaction/event_manager.rb

#dequeue_events_for_resource(target, callback) ⇒ 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.

API:

  • private



93
94
95
96
# File 'lib/puppet/transaction/event_manager.rb', line 93

def dequeue_events_for_resource(target, callback)
  target.info _("Unscheduling %{callback} on %{target}") % { callback: callback, target: target }
  @event_queues[target][callback] = [] if @event_queues[target]
end