Similar to `task_exit`, but executes at TaskGroup's exit instead, after all tasks of the group finished execution. This will run only once on each node.
(self, name=None)
| 443 | return setup |
| 444 | |
| 445 | def local_exit(self, name=None): |
| 446 | """ |
| 447 | Similar to `task_exit`, but executes at TaskGroup's exit instead, |
| 448 | after all tasks of the group finished execution. |
| 449 | This will run only once on each node. |
| 450 | """ |
| 451 | setup = _SetupBuilder(_SetupBuilder.EXIT, name) |
| 452 | self.net().add_attribute(TaskGroup.LOCAL_SETUP, setup) |
| 453 | return setup |
| 454 | |
| 455 | def task_reporter(self, interval_ms=1000, name=None): |
| 456 | """ |
nothing calls this directly
no test coverage detected