[docs]: add fn "create-conn" clarification

This commit is contained in:
Anatoly 2019-07-09 09:51:44 -04:00 committed by GitHub
parent 9666d3f372
commit 52831f6b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`