Skip to content

Commit 4a656f2

Browse files
committed
fix(docs): generate
1 parent 82f5614 commit 4a656f2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

stdlib/apps.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let view = apps.render model, { dispatch, state =>
3333
import tests
3434
3535
tests.test "apps", { fail =>
36-
rx.await (apps.send view, Inc)
36+
apps.send view, Inc
3737
3838
unless (apps.currentState view) == 1, fail "should be 1"
3939
}
@@ -98,7 +98,7 @@ It has an initial state and an update function.
9898

9999
- `initial` - The initial state
100100
- `update state, msg` - The update function.
101-
Takes a state and a message and returns an `Update` record.
101+
Takes a state and a message and returns an `Update` record.
102102

103103
## Quit
104104

@@ -144,7 +144,7 @@ Whenever you have one representation of your whole state, the `View` is the righ
144144

145145
- `store` - The underlying and observed store.
146146
- `view dispatch, state` - A function which renders the current state.
147-
Might `dispatch cmd`.
147+
Might `dispatch cmd`.
148148

149149
## currentState
150150

@@ -169,7 +169,7 @@ Creates a new view by rendering a store on every change.
169169
_func_ `send stateful, cmd`
170170

171171
Sends an eventually async Command to a stateful.
172-
Always returns a Future.
172+
Always returns a Result.
173173

174174
## storeFrom
175175

@@ -189,3 +189,4 @@ Observes changes of a stateful.
189189
_func_ `update stateful, msg`
190190

191191
Directly applies a message to a stateful.
192+

0 commit comments

Comments
 (0)