Liking cljdoc? Tell your friends :D

matthiasn.systems-toolbox.switchboard.route


route-all-handlerclj/s

(route-all-handler {:keys [current-state msg-payload]})

Connects two components where ALL messages are routed to recipient(s), not only those for which there is a specific handler. This results in both the all-msgs-handler receiving all messages and the unhandled-handler receiving those for which there is no handler.

Connects two components where ALL messages are routed to recipient(s), not
only those for which there is a specific handler. This results in both the
all-msgs-handler receiving all messages and the unhandled-handler receiving
those for which there is no handler.
sourceraw docstring

route-handlerclj/s

(route-handler {:keys [current-state msg-payload]})

Creates subscriptions between one component's out-pub and another component's in-chan. Requires a map with at least the :from and :to keys. Also, routing can be limited to message types specified under the :only keyword. Here, either a single message type or a vector with multiple message types can be used.

Creates subscriptions between one component's out-pub and another component's
in-chan.
Requires a map with at least the :from and :to keys.
Also, routing can be limited to message types specified under the :only
keyword. Here, either a single message type or a vector with multiple message
types can be used.
sourceraw docstring

subscribe-fnclj/s

(subscribe-fn from to pred)

Subscribe component to a specified publisher.

Subscribe component to a specified publisher.
sourceraw docstring

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

× close