commit
b24e7a17fe
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ and some other use cases.
|
||||||
|
|
||||||
### Suspendable Lifecycle
|
### Suspendable Lifecycle
|
||||||
|
|
||||||
In additiong to `start` / `stop` functions, a state can also have `resume` and, if needed, `suspend` ones:
|
In addition to `start` / `stop` functions, a state can also have `resume` and, if needed, `suspend` ones:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
(defstate web-server :start start-server
|
(defstate web-server :start start-server
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue