Stops the `.IOLoop`, causing one pending (or future) call to `wait()` to return. Keyword arguments or a single positional argument passed to `stop()` are saved and will be returned by `wait()`. .. deprecated:: 5.1 `stop` and `wait` are deprecated; use ``
(self, _arg: Any = None, **kwargs: Any)
| 331 | return ret |
| 332 | |
| 333 | def stop(self, _arg: Any = None, **kwargs: Any) -> None: |
| 334 | """Stops the `.IOLoop`, causing one pending (or future) call to `wait()` |
| 335 | to return. |
| 336 | |
| 337 | Keyword arguments or a single positional argument passed to `stop()` are |
| 338 | saved and will be returned by `wait()`. |
| 339 | |
| 340 | .. deprecated:: 5.1 |
| 341 | |
| 342 | `stop` and `wait` are deprecated; use ``@gen_test`` instead. |
| 343 | """ |
| 344 | assert _arg is None or not kwargs |
| 345 | self.__stop_args = kwargs or _arg |
| 346 | if self.__running: |
| 347 | self.io_loop.stop() |
| 348 | self.__running = False |
| 349 | self.__stopped = True |
| 350 | |
| 351 | def wait( |
| 352 | self, |
no outgoing calls
no test coverage detected