Liking cljdoc? Tell your friends :D

malli.dev.cljs


collect-all!clj/smacro

(collect-all!)
source

deregister-function-schemas!clj/smacro

(deregister-function-schemas!)
source

start!clj/smacro

(start!)
(start! options)

Collects defn schemas from all loaded namespaces and starts instrumentation for a filtered set of function Vars (e.g. defns). See malli.core/-instrument for possible options. Differences from Clojure malli.dev/start!:

  • The :ns option must be a compile-time literal as the namespace symbol(s) must be available at compile time, not runtime.
  • Does not unstrument functions - this is handled by hot reloading.
  • Does not emit clj-kondo type annotations. See malli.clj-kondo/print-cljs! to print clj-kondo config.
  • Does not re-instrument functions if the function schemas change - use hot reloading to get a similar effect.
Collects defn schemas from all loaded namespaces and starts instrumentation for
a filtered set of function Vars (e.g. `defn`s). See [[malli.core/-instrument]] for possible options.
Differences from Clojure `malli.dev/start!`:
- The :ns option must be a compile-time literal as the namespace symbol(s) must be available at compile time, not runtime.
- Does not unstrument functions - this is handled by hot reloading.
- Does not emit clj-kondo type annotations. See `malli.clj-kondo/print-cljs!` to print clj-kondo config.
- Does not re-instrument functions if the function schemas change - use hot reloading to get a similar effect.
sourceraw docstring

stop!clj/smacro

(stop!)

Stops instrumentation for all functions vars and removes clj-kondo type annotations.

Stops instrumentation for all functions vars and removes clj-kondo type annotations.
sourceraw docstring

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

× close