========= Operators ========= Operator, also known as intermediate operations, are functions which allows you to transform, combine and/or control streams of data. Each time when you apply operator on stream, you get new instance of ``RunOpenCode\Component\Dataset\Stream``. That means that you can chain operators describing in declarative way process of data processing from the start to the end on each individual streamed record. .. toctree:: :maxdepth: 1 :hidden: list/index extend As already mentioned, applying operators to a stream is essentially a composition of functions, presented in a more developer-friendly way: .. code-block:: php :linenos: map(/* ... */) ->tap(/* ... */) ->takeUntil(/* ... */) ->finally(/* ... */); which maps to: .. code-block:: php :linenos: map(/* ... */) |> tap(/* ... */) |> takeUntil(/* ... */) |> finally(/* ... */);