[docs value of values]: removing "mount" prefix
This commit is contained in:
parent
31c1501b0a
commit
bf5294edb7
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ is an example of a Datomic connection that "depends" on a similar `app-config`.
|
||||||
Lifecycle functions start/stop/suspend/resume can take both functions and values. This is "valuable" and also works:
|
Lifecycle functions start/stop/suspend/resume can take both functions and values. This is "valuable" and also works:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
(mount/defstate answer-to-the-ultimate-question-of-life-the-universe-and-everything :start 42)
|
(defstate answer-to-the-ultimate-question-of-life-the-universe-and-everything :start 42)
|
||||||
```
|
```
|
||||||
|
|
||||||
Besides scalar values, lifecycle functions can take anonymous functions, partial functions, function references, etc.. Here are some examples:
|
Besides scalar values, lifecycle functions can take anonymous functions, partial functions, function references, etc.. Here are some examples:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue