July 2016
Intermediate to advanced
360 pages
11h 26m
English
The tables in this appendix relate the primitives named in this book to each system’s API. They’re not necessarily directly equivalent, but you will be able to tell where in that system’s API to start looking. If a field is blank, there is no equivalent.
Variable names give clues, mainly these:
|
Primitive |
Sodium (Java) |
RxJS (JS) |
Bacon.JS (JS) |
|---|---|---|---|
| Stream | Stream | Rx.Observable | EventStream |
| Cell | Cell | Rx.BehaviorSubject | Property |
| never | new Stream() | Rx.Observable.of() | Bacon.never() |
| constant | new Cell(i) | Rx.Observable.of(i) | Bacon.constant(i) |
| map (S) | s.map(f) | s.map(f) | e.map(f) |
Read now
Unlock full access