Transform: Map and Filter
Learn about transforming and filtering operators, such as map and filter.
We'll cover the following
Transforming and filtering
Operators that transform or filter are some of the handiest operators that are available because they do not require timing or buffering. The operations are applied as soon as a new element is produced in the stream.
In the previous chapter, we looked at map
and filter
to apply a simple transformation and filtering of data. The following marble diagrams demonstrate how each one affects emitted items before they are propagated to subscribers.
Get hands-on with 1200+ tech skills courses.