[docs]: (create-conn) rephrase clarification
This commit is contained in:
parent
52831f6b3e
commit
348297ee11
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ Creating state is easy:
|
||||||
(defstate conn :start (create-conn))
|
(defstate conn :start (create-conn))
|
||||||
```
|
```
|
||||||
|
|
||||||
where the `create-conn` function creates a connection to, say a database, and is defined elsewhere, can be right above it.
|
where the `create-conn` function creates a connection (for example to a database) and is defined elsewhere, can be right above it.
|
||||||
|
|
||||||
In case this state needs to be cleaned / destroyed between reloads, there is also `:stop`
|
In case this state needs to be cleaned / destroyed between reloads, there is also `:stop`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue