MCPcopy Create free account
hub / github.com/saltstack/salt / on_batch_progress

Method on_batch_progress

salt/utils/batch_output.py:278–283  ·  view source on GitHub ↗

Fire ``salt/batch/ /progress``.

(self, state, iteration=None)

Source from the content-addressed store, hash-verified

276 self.event.fire_event(new_payload(state), tag_new(state["jid"]))
277
278 def on_batch_progress(self, state, iteration=None):
279 """Fire ``salt/batch/<jid>/progress``."""
280 self.event.fire_event(
281 progress_payload(state, iteration=iteration),
282 tag_progress(state["jid"]),
283 )
284
285 def on_batch_complete(self, state, now=None):
286 """Fire ``salt/batch/<jid>/complete``."""

Callers 2

_progress_oneMethod · 0.45

Calls 3

progress_payloadFunction · 0.85
tag_progressFunction · 0.85
fire_eventMethod · 0.45