Skip to content

Commit 58a66df

Browse files
authored
Merge pull request ReactiveX#740 from ReactiveX/update-units-documentation
Remove Variable from Units documentation
2 parents 49ccdac + e1040cf commit 58a66df

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Documentation/Units.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Analogies:
4343
| Physical units | Rx units |
4444
|-------------------------------------|---------------------------------------------------------------------|
4545
| number (one value) | observable sequence (sequence of values) |
46-
| dimensional unit (m, s, m/s, N ...) | Swift struct (Driver, ControlProperty, ControlEvent, Variable, ...) |
46+
| dimensional unit (m, s, m/s, N ...) | Swift struct (Driver, ControlProperty, ControlEvent, ...) |
4747

4848
A physical unit is a pair of a number and a corresponding dimensional unit.<br/>
4949
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.
106106
```
107107
Driver = (can't error out) * (observe on main scheduler) * (sharing side effects)
108108
ControlProperty = (sharing side effects) * (subscribe on main scheduler)
109-
Variable = (can't error out) * (sharing side effects)
110109
```
111110

112111
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)
137136
* Observe on main scheduler
138137
* Sharing side effects
139138

140-
### Variable
141-
142-
* Can't error out
143-
* Sharing side effects
144-
145139
## Driver
146140

147141
This is the most elaborate unit. Its intention is to provide an intuitive way to write reactive code in the UI layer.

0 commit comments

Comments
 (0)