Remove Variable from Units documentation
This commit is contained in:
parent
ab4c845d46
commit
e1040cfcf8
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue