[docs]: add fn "create-conn" clarification
This commit is contained in:
parent
9666d3f372
commit
52831f6b3e
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ Creating state is easy:
|
|||
(defstate conn :start (create-conn))
|
||||
```
|
||||
|
||||
where the `create-conn` function is defined elsewhere, can be right above it.
|
||||
where the `create-conn` function creates a connection to, say 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`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue