Liking cljdoc? Tell your friends :D

com.fulcrologic.rad.registered-maps

A dev-time map that behaves as-if it is mutable, so that closures over the map's value can be updated without having to regenerate those closures.

Used to improve CLJ hot-code reload behavior.

NOTE: You MUST do one of the following to ENABLE this feature during development:

  • Include the JVM option to set the property rad.dev (e.g. -Drad.dev)
  • Use alter-var-root on com.fulcrologic.rad.registered-maps/enabled to set the root binding to true.
A dev-time map that behaves as-if it is mutable, so that closures over the map's value can be updated
without having to regenerate those closures.

Used to improve CLJ hot-code reload behavior.

NOTE: You MUST do one of the following to ENABLE this feature during development:

* Include the JVM option to set the property `rad.dev` (e.g. `-Drad.dev`)
* Use `alter-var-root` on com.fulcrologic.rad.registered-maps/*enabled* to set the root binding to true.
raw docstring

*enabled*clj

source

registered-mapclj

(registered-map registration-key value)

Install the given value (a map) as a registered map for registration-key and return a map-like value that will access the registry for the values. Two maps registered under the same key will collide and be considered the same value, with the one registered later taking precedence.

NOTE: Returns value unless registered maps are enabled. Registered maps are intended to be a dev-time convenience, and not a production feature.

Install the given `value` (a map) as a registered map for `registration-key` and return
a map-like value that will access the registry for the values. Two maps registered under the same key will collide
and be considered the same value, with the one registered later taking precedence.

NOTE: Returns `value` unless registered maps are enabled. Registered maps are intended to be a dev-time convenience,
and not a production feature.
sourceraw docstring

registryclj

source

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

× close