The transducers-js API

Before we learn how we can use transducers-js with RxJS, it is important to know which transformations we have available in this library. As we have already learned most of these transformations in RxJS, here is a quick overview of some of the transformations available in the transducers-js library API and what each one does:

  • transducers.complement (function): It takes a function and returns its complements (negates the result of the function call).
  • transducers.filter (function): It takes a function and filters the data based on the result of calling this function over it.
  • transducers.first(): It returns the first input.
  • (function): It uses the given function to map each value into another.
  • transducers.partitionAll ...

Get Mastering Reactive JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.