Liking cljdoc? Tell your friends :D

com.fulcrologic.fulcro.inspect.inspect-client

Functions used by Fulcro to talk to Fulcro Inspect.

Functions used by Fulcro to talk to Fulcro Inspect.
raw docstring

app-idclj/s

(app-id app)
source

app-started!clj/s

(app-started! app)

Register the application with Inspect, if it is available.

Register the application with Inspect, if it is available.
sourceraw docstring

app-stateclj/s

(app-state app)
source

app-uuidclj/s

(app-uuid app)
source

app-uuid-keyclj/s

source

apps*clj/s

source

cljs?clj/s

(cljs? env)

Returns true when env is a cljs macro &env

Returns true when env is a cljs macro &env
sourceraw docstring

comp-transact!clj/s

(comp-transact! app tx options)
source

db-changed!clj/s

(db-changed! app old-state new-state)

Notify Inspect that the database changed

Notify Inspect that the database changed
sourceraw docstring

db-from-historyclj/s

(db-from-history app state-hash)
source

dispose-appclj/s

(dispose-app app-uuid)
source

event-dataclj/s

(event-data event)
source

fulcro-app-idclj/s

(fulcro-app-id app)
source

get-component-nameclj/s

(get-component-name component)
source

handle-devtool-messageclj/s

(handle-devtool-message {:keys [type data]})
source

idoclj/smacro

(ido & body)

Wrap a block of code that will only run if Inspect is enabled. Code in these blocks will also be removed via DCE in Closure.

This macro emits nothing when run in clj, and will output code that should be completely removed by the Closure compiler if both goog.DEBUG and com.fulcrologic.fulcro.inspect.inspect-client/INSPECT are false.

This allows you to enable inspect messages in production by adding the following to your compiler config:

:closure-defines {"com.fulcrologic.fulcro.inspect.inspect_client.INSPECT" true}

Wrap a block of code that will only run if Inspect is enabled.  Code in these blocks will also be removed via
DCE in Closure.

This macro emits nothing when run in clj, and will output code that
should be completely removed by the Closure compiler if both
goog.DEBUG and com.fulcrologic.fulcro.inspect.inspect-client/INSPECT are false.

This allows you to enable inspect messages in production by adding the following to
your compiler config:

:closure-defines {"com.fulcrologic.fulcro.inspect.inspect_client.INSPECT" true}
source (clj)source (cljs)raw docstring

iletclj/smacro

(ilet bindings & body)

Like clojure.core/let, but elides the block if Inspect isn't enabled.

This macro emits nothing when run in clj, and will output code that should be completely removed by the Closure compiler if both goog.DEBUG and com.fulcrologic.fulcro.inspect.inspect-client/INSPECT are false.

This allows you to enable inspect messages in production by adding the following to your compiler config:

:closure-defines {"com.fulcrologic.fulcro.inspect.inspect_client.INSPECT" true}

Like `clojure.core/let`, but elides the block if Inspect isn't enabled.

This macro emits nothing when run in clj, and will output code that
should be completely removed by the Closure compiler if both
goog.DEBUG and com.fulcrologic.fulcro.inspect.inspect-client/INSPECT are false.

This allows you to enable inspect messages in production by adding the following to
your compiler config:

:closure-defines {"com.fulcrologic.fulcro.inspect.inspect_client.INSPECT" true}
source (clj)source (cljs)raw docstring

INSPECTcljs

source

installclj/s

(install _)
source

listen-local-messagesclj/s

(listen-local-messages)
source

MAX_HISTORY_SIZEclj/s

source

optimistic-action-finished!clj/s

(optimistic-action-finished!
  app
  {:keys [component ref state
          com.fulcrologic.fulcro.algorithms.tx-processing/options]}
  {:keys [tx-id tx state-before]})

Notify inspect that a transaction finished.

app - The app env - The mutation env that completed.

Notify inspect that a transaction finished.

app - The app
env - The mutation env that completed.
sourceraw docstring

post-messageclj/s

(post-message type data)
source

remotesclj/s

(remotes app)
source

runtime-atomclj/s

(runtime-atom app)
source

send-chclj/s

source

send-failed!clj/s

(send-failed! app tx-id error)
source

send-finished!clj/s

(send-finished! app remote tx-id response)
source

send-started!clj/s

(send-started! app remote tx-id txn)
source

set-active-appclj/s

(set-active-app app-uuid)
source

start-send-message-loopclj/s

(start-send-message-loop)
source

started?*clj/s

source

state-atomclj/s

(state-atom app)
source

tools-app*clj/s

source

transact-inspector!clj/s

(transact-inspector! tx)
(transact-inspector! ref tx)
source

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

× close