Method: Chef::RunContext#delayed_notifications
- Defined in:
- lib/chef/run_context.rb
#delayed_notifications(resource) ⇒ Array[Notification]
Get the list of delayed (end of run) notifications sent by the given resource.
364 365 366 367 |
# File 'lib/chef/run_context.rb', line 364 def delayed_notifications(resource) key = resource.is_a?(String) ? resource : resource.declared_key delayed_notification_collection[key] end |