(notify! app event-name data)
Notify all registered tools that some event of interest has occurred. These notifications are meant for tools like Fulcro Inspect, but your application layer or libraries can send additional events that can be consumed by any tooling you choose to define.
event-name can be a string/keyword/symbol. It will be associated onto the event you receive as :type
. The
data MUST be a map, and this function will also automatically add the Fulcro application's UUID
under the key :com.fulcrologic.fulcro.application/id and the application's description as
:com.fulcrologic.fulcro.application/label
Notify all registered tools that some event of interest has occurred. These notifications are meant for tools like Fulcro Inspect, but your application layer or libraries can send additional events that can be consumed by any tooling you choose to define. event-name can be a string/keyword/symbol. It will be associated onto the event you receive as `:type`. The data MUST be a map, and this function will also automatically add the Fulcro application's UUID under the key :com.fulcrologic.fulcro.application/id and the application's description as :com.fulcrologic.fulcro.application/label
(register-tool! app tool)
Add a tool to Fulcro.
tool
is a (fn [app event])
, where the event is a map that describes some internal operation
of interest. The application layer or Fulcro itself can send such events, which are meant for external
tooling such as Fulcro Inspect.
Add a tool to Fulcro. `tool` is a `(fn [app event])`, where the event is a map that describes some internal operation of interest. The application layer or Fulcro itself can send such events, which are meant for external tooling such as Fulcro Inspect.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close