Merge pull request #740 from ReactiveX/update-units-documentation

Remove Variable from Units documentation
This commit is contained in:
Krunoslav Zaher 2016-06-13 14:04:38 +02:00 committed by GitHub
commit 58a66df1d9
1 changed files with 1 additions and 7 deletions

View File

@ -43,7 +43,7 @@ Analogies:
| Physical units | Rx units |
|-------------------------------------|---------------------------------------------------------------------|
| number (one value) | observable sequence (sequence of values) |
| dimensional unit (m, s, m/s, N ...) | Swift struct (Driver, ControlProperty, ControlEvent, Variable, ...) |
| dimensional unit (m, s, m/s, N ...) | Swift struct (Driver, ControlProperty, ControlEvent, ...) |
A physical unit is a pair of a number and a corresponding dimensional unit.<br/>
An Rx unit is a pair of an observable sequence and a corresponding struct that describes observable sequence properties.
@ -106,7 +106,6 @@ E.g.
```
Driver = (can't error out) * (observe on main scheduler) * (sharing side effects)
ControlProperty = (sharing side effects) * (subscribe on main scheduler)
Variable = (can't error out) * (sharing side effects)
```
Conversion between different units in physics is done with the help of operators defined on numbers `*`, `/`.<br/>
@ -137,11 +136,6 @@ Sharing side effects = share* (one of the `share` operators)
* Observe on main scheduler
* Sharing side effects
### Variable
* Can't error out
* Sharing side effects
## Driver
This is the most elaborate unit. Its intention is to provide an intuitive way to write reactive code in the UI layer.