Which addons are dormant right now, for code that must not act on them.
A reload cascade consults this so a file change under a dormant addon does not mount it behind the lifecycle's back. The installed predicate is read at call time; the default answers false for every id, which is the behaviour of a host with no lifecycle.
Portable stratum.
Which addons are dormant right now, for code that must not act on them. A reload cascade consults this so a file change under a dormant addon does not mount it behind the lifecycle's back. The installed predicate is read at call time; the default answers false for every id, which is the behaviour of a host with no lifecycle. Portable stratum.
(dormant? addon-id)True when the installed predicate says ADDON-ID is dormant.
True when the installed predicate says ADDON-ID is dormant.
(install-dormancy! f)Install F, (fn [addon-id] -> truthy when dormant). Returns F.
Install F, (fn [addon-id] -> truthy when dormant). Returns F.
(reset-dormancy!)Back to 'nothing is dormant'.
Back to 'nothing is dormant'.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |