Liking cljdoc? Tell your friends :D

org.clojars.roklenarcic.paginator.impl


add-to-batchclj

(add-to-batch engine it)

Adds item to batch, adds batch to queue if max-items was reached.

Adds item to batch, adds batch to queue if max-items was reached.
raw docstring

finished?clj

(finished? engine)

force-enqueueclj

(force-enqueue engine)

Forces a batch to queue if queue is empty and the runner state allows for more tasks

Forces a batch to queue if queue is empty and the runner state allows for more tasks
raw docstring

has-capacity?clj

(has-capacity? engine)

init-engineclj

(init-engine engine params)

run!!clj

(run!! {:keys [params get-items-fn items-in-runner items-in-process parser]
        :as engine}
       paging-states)

run-from-queue!clj

(run-from-queue! {:keys [async-fn ch-result] :as engine})

Enqueues a batch with the runner if there is one in the queue and the runner has capacity. Returns new engine state.

Enqueues a batch with the runner if there is one in the queue and the runner has capacity. Returns new engine state.
raw docstring

swap-xf!clj

(swap-xf! atom* f)

A transducer that runs f on atom* for each item seen.

A transducer that runs f on atom* for each item seen.
raw docstring

update-existing-psclj

(update-existing-ps {:keys [parser]} result page-states)

Updates an existing pagestate map with results.

Updates an existing pagestate map with results.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close