(create-dispatch {:keys [hooks options] :as m})creates a debource executor
creates a debource executor
(start-dispatch dispatch)starts the debounce executor
starts the debounce executor
(stop-dispatch dispatch)stops the debounce executor
stops the debounce executor
(submit-delay {:keys [handler runtime hooks options] :as dispatch} entry)submits and executes after delay
(test-scaffold (-> +test-config+ (assoc-in [:options :debounce :strategy] :delay)) 10 2) => [{:id 0, :state 9} {:id 1, :state 9}]
submits and executes after delay
(test-scaffold (-> +test-config+
(assoc-in [:options :debounce :strategy] :delay))
10 2)
=> [{:id 0, :state 9} {:id 1, :state 9}](submit-dispatch {:keys [options runtime] :as dispatch} entry)submits to the debounce executor
submits to the debounce executor
(submit-eager {:keys [handler runtime hooks options] :as dispatch} entry)submits and executes eagerly
(test-scaffold +test-config+ 10 2) => [{:id 0, :state 0} {:id 1, :state 0}]
submits and executes eagerly
(test-scaffold +test-config+
10 2)
=> [{:id 0, :state 0} {:id 1, :state 0}](submit-notify {:keys [runtime hooks options handler] :as dispatch} entry)submits and executes on as well and after delay
submits and executes on as well and after delay
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |