(self, handlers, *args, **kwargs)
| 146 | self._call_handlers(self.on.node_lost, worker) |
| 147 | |
| 148 | def _call_handlers(self, handlers, *args, **kwargs): |
| 149 | for handler in handlers: |
| 150 | try: |
| 151 | handler(*args, **kwargs) |
| 152 | except Exception as exc: # pylint: disable=broad-except |
| 153 | logger.exception( |
| 154 | 'Ignored error from handler %r: %r', handler, exc) |
| 155 | |
| 156 | def register_timer(self): |
| 157 | if self._tref is not None: |
no outgoing calls
no test coverage detected