Request that the coordinator stop the threads. See `Coordinator.request_stop()`. Args: ex: Optional `Exception`, or Python `exc_info` tuple as returned by `sys.exc_info()`. If this is the first call to `request_stop()` the corresponding exception is recorded and re-r
(self, ex=None)
| 847 | self._graph_added_to_summary = False |
| 848 | |
| 849 | def request_stop(self, ex=None): |
| 850 | """Request that the coordinator stop the threads. |
| 851 | |
| 852 | See `Coordinator.request_stop()`. |
| 853 | |
| 854 | Args: |
| 855 | ex: Optional `Exception`, or Python `exc_info` tuple as returned by |
| 856 | `sys.exc_info()`. If this is the first call to `request_stop()` the |
| 857 | corresponding exception is recorded and re-raised from `join()`. |
| 858 | """ |
| 859 | self._coord.request_stop(ex=ex) |
| 860 | |
| 861 | def should_stop(self): |
| 862 | """Check if the coordinator was told to stop. |
no outgoing calls