(start!)
(start! options)
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!
:
malli.clj-kondo/print-cljs!
to print clj-kondo config.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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close