Skip to content

Commit ee6197f

Browse files
committed
update readme
1 parent 8a652a2 commit ee6197f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ finstead of imperative describe what you want to do with data at certain step, w
7272
### Composable and Reusable Sinks
7373
sinks are composable and reusable, not like reducer in redux, where switch statement are hard to break and compose.
7474

75+
### Async actions
76+
when function is not async such as promise, simply convert it to Stream and flatMap it
77+
```js
78+
intent$.map(promise=>most.fromPromise)
79+
.flatMap(value=>dosomething)
80+
```
81+
7582
### Transducers support
7683
[transducer](https://github.com/cognitect-labs/transducers-js) is another high perfomance functional way to compose data flow other than monadic.
7784

0 commit comments

Comments
 (0)