@@ -33,7 +33,7 @@ let view = apps.render model, { dispatch, state =>
33
33
import tests
34
34
35
35
tests.test "apps", { fail =>
36
- rx.await ( apps.send view, Inc)
36
+ apps.send view, Inc
37
37
38
38
unless (apps.currentState view) == 1, fail "should be 1"
39
39
}
@@ -98,7 +98,7 @@ It has an initial state and an update function.
98
98
99
99
- ` initial ` - The initial state
100
100
- ` 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.
102
102
103
103
## Quit
104
104
@@ -144,7 +144,7 @@ Whenever you have one representation of your whole state, the `View` is the righ
144
144
145
145
- ` store ` - The underlying and observed store.
146
146
- ` view dispatch, state ` - A function which renders the current state.
147
- Might ` dispatch cmd ` .
147
+ Might ` dispatch cmd ` .
148
148
149
149
## currentState
150
150
@@ -169,7 +169,7 @@ Creates a new view by rendering a store on every change.
169
169
_ func_ ` send stateful, cmd `
170
170
171
171
Sends an eventually async Command to a stateful.
172
- Always returns a Future .
172
+ Always returns a Result .
173
173
174
174
## storeFrom
175
175
@@ -189,3 +189,4 @@ Observes changes of a stateful.
189
189
_ func_ ` update stateful, msg `
190
190
191
191
Directly applies a message to a stateful.
192
+
0 commit comments