Hands-On Reactive Programming with Python
上QQ阅读APP看书,第一时间看更新

Creating observables from values

The first category of factory operators allows us to create observables from values, or from iterables. The from_ operator, which was already documented in Chapter 1An Introduction to Reactive Programming, falls into this category. This category contains operators that are used in many cases, so it is important to know them in order to avoid reimplementing a factory that already exists.