Helpers for providing event -> path functions.
Helpers for providing event -> path functions.
(by-type & types-and-paths)
Returns a function that dispatches to different path by the type of the event. The types and events are alternating in the arguments. The type may be a single type or a collection of types to easily add the same path for multiple event types.
Returns a function that dispatches to different path by the type of the event. The types and events are alternating in the arguments. The type may be a single type or a collection of types to easily add the same path for multiple event types.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close