Liking cljdoc? Tell your friends :D

com.fulcrologic.fulcro.inspect.tools


notify!clj/s

(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
sourceraw docstring

register-tool!clj/s

(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. 
sourceraw docstring

registered-toolsclj/s

(registered-tools app)
source

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

× close