Skip to content
Myr

Suggesting changing "async.map(rs)" to "responses = async.map(rs)" just to show that it returns a list rather than mutating the original? Maybe this is apparent for most, but I was a bit confused =/ http://goo.gl/gE4up

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Miller · committed by Daniel Miller · parent 6562137 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/advanced.rst+1 added-1 removed
132 unmodified lines
133one at a time with ``Request.send()``, but that would take a while. Instead,134we'll send them all at the same time with ``async.map()``. Using ``async.map()``135will also guarantee execution of the ``response`` hook, described below. ::136137 >>> async.map(rs)137 >>> responses = async.map(rs)138 [<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]139140.. admonition:: Throttling141
179 unmodified lines