Stops simultaneously all the crawling jobs taking place. Returns a deferred that is fired when they all have ended.
(self)
| 472 | self.bootstrap_failed |= not getattr(crawler, "spider", None) or failed |
| 473 | |
| 474 | def stop(self) -> Deferred[Any]: |
| 475 | """ |
| 476 | Stops simultaneously all the crawling jobs taking place. |
| 477 | |
| 478 | Returns a deferred that is fired when they all have ended. |
| 479 | """ |
| 480 | return DeferredList(deferred_from_coro(c.stop_async()) for c in self.crawlers) |
| 481 | |
| 482 | @inlineCallbacks |
| 483 | def join(self) -> Generator[Deferred[Any], Any, None]: |
nothing calls this directly
no test coverage detected