std.dispatch.hub

+defaults+

create-debounce

added in 3.0

(create-debounce {:keys [options], :as dispatch})

creates the debounce executor

create-dispatch

added in 3.0

(create-dispatch {:keys [hooks options], :as m})

creates the hub executor

;; Non Sorted (->> (test-scaffold +test-config+ 20 5 5) second (map :id) (sort)) => (range 25)

create-dispatch-typecheck

create-hub-handler

added in 3.0

(create-hub-handler {:keys [runtime], :as dispatch})

creates the hub handler

health-dispatch

(health-dispatch dispatch)

info-dispatch

added in 3.0

(info-dispatch dispatch _)

returns dispatch info

kill-dispatch

added in 3.0

(kill-dispatch {:keys [runtime hooks], :as dispatch})

kills the hub executor

process-hub

added in 3.0

(process-hub {:keys [handler options], :as dispatch} group hub)

activates on debounce submit hit

props-dispatch

(props-dispatch dispatch)

put-hub

added in 3.0

(put-hub {:keys [runtime options], :as dispatch} group entry)

puts an entry into the group hubs

start-dispatch

added in 3.0

(start-dispatch {:keys [runtime], :as dispatch})

starts the hub executor

started?-dispatch

(started?-dispatch dispatch)

stop-dispatch

added in 3.0

(stop-dispatch {:keys [runtime hooks], :as dispatch})

stops the hub executor

stopped?-dispatch

(stopped?-dispatch dispatch)

submit-dispatch

added in 3.0

(submit-dispatch {:keys [options runtime], :as dispatch} entry)

submits to the hub executor

update-debounce-handler!

added in 3.0

(update-debounce-handler! {:keys [runtime], :as dispatch})

updates the debounce handler