Giter Site home page Giter Site logo

Comments (3)

DavidMGross avatar DavidMGross commented on June 8, 2024

The switchMap operator is documented on the flatMap page (along with concatMap, selectMany, concat_all, and several others with similar functions -- even StringObservable's split):

http://reactivex.io/documentation/operators/flatmap.html

Rather than having a documentation page for every operator, we have chosen to group operators with similar functions into a single documentation page so that it's easier for people to choose the operator that's most appropriate to their use case.

from reactivex.github.io.

saikatbhadra avatar saikatbhadra commented on June 8, 2024

Ah ok - I didn't get this when I first skimmed the page because of the heading on the page/

However, I'm still a bit confused - in the language specific information section there is no mention of switchMap in the RxJS section. This made me believe switchMap wasn't supported. I also had trouble understanding what switchMap does as it's not explained in any section except the RxGroovy.

So a couple of questions:

  1. Why is switchMap omitted from the RxJS section? Reading that made me think the function is not supported
  2. Why is the switchMap explanation collapsed into the RxGroovy section but not the other sections. How is a user supposed to know where to find the function explanation without expanding each language section mentioning switchMap?

Thanks!

from reactivex.github.io.

DavidMGross avatar DavidMGross commented on June 8, 2024

The RxJS documentation on reactivex.github.io is out-of-date (see #247 ). This may also be true for some other languages. In general, documentation for RxJava and its derivatives is more extensive than for some other languages' variants, just because nobody has yet stepped forward to take charge of the documentation for those variants.

from reactivex.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.