mirror of https://github.com/scrapy/scrapy.git
Document that process_spider_output receives a lazy result (#7939)
This commit is contained in:
parent
cd7f422a1e
commit
a18d58d7b5
|
|
@ -122,6 +122,9 @@ one or more of these methods:
|
|||
This method is an :term:`asynchronous generator` called with the
|
||||
results from the spider after the spider has processed the response.
|
||||
|
||||
*result* is lazy: a generator callback runs as *result* is iterated, so
|
||||
code that runs before that iteration runs before the callback body.
|
||||
|
||||
.. seealso:: :ref:`universal-spider-middleware`.
|
||||
|
||||
:param response: the response which generated this output from the
|
||||
|
|
|
|||
Loading…
Reference in New Issue