def fetch.all
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-concurrency@0.2.0.0/concurrency.bend as Conc
4374# Each request as fetch would make it, on at most n workers (0 counts as 1, and
4375# never more workers than requests). Each worker owns its own Pool, so an idle
4376# socket is reused only by the worker that opened it; every pool is closed at the
4377# end. Results come back in the order of reqs.
4378def fetch.all(reqs: List<Fetch>, +n: U32) -> IO(List<Result<&1, &1, Err, Res>>):
4379 fetch.all.of(n, Conc.count(Fetch, reqs))
Uses (9)
Used by (0)
No other definition uses this definition.