(fetch f start end)
(fetch f start end coll)
(fetch f start end coll xf)
f
is a function of two arguments. The first argument is a page
number. The second argument is a channel on which to write the page
results. f should return immediately. If it does any kind of i/o,
use an asynchronous library. If it needs to compute, make it asynchronous.
start
is the first page.
end
is the last page.
coll
is the initial collection of results. Defaults to an empty
vector.
xf
is a transducer that will be applied when reading the channel
that was passed to f
. Defaults to a no-op.
`f` is a function of two arguments. The first argument is a page number. The second argument is a channel on which to write the page results. f should return immediately. If it does any kind of i/o, use an asynchronous library. If it needs to compute, make it asynchronous. `start` is the first page. `end` is the last page. `coll` is the initial collection of results. Defaults to an empty vector. `xf` is a transducer that will be applied when reading the channel that was passed to `f`. Defaults to a no-op.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close