O'Reilly logo

Mastering Reactive JavaScript by Erich de Souza Oliveira

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.
  • transducers.map (function): It uses the given function to map each value into another.
  • transducers.partitionAll ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required