Questions tagged [reactivex]

ReactiveX is a library for composing asynchronous and event-based programs by using observable sequences.

From reactivex.io:

It extends the observer pattern to support sequences of data and/or events and adds operators that allow you to compose sequences together declaratively while abstracting away concerns about things like low-level threading, synchronization, thread-safety, concurrent data structures, and non-blocking I/O.

647 questions
-2
votes
2 answers

HTTP Request Unsubscribe doesn't work

I'm fetching the data from json file in services and subscribing it from my component. I'm doing some condition check with the data, once it matches I want to stop subscribing but it's not working and still its subscribing. Service getUserData() { …
Jagadeesh
  • 738
  • 6
  • 24
-3
votes
1 answer

How do I modify a given rxjs function?

I have this code that works just fine: (function fizzbuzz() { range(1, 31) .pipe( map(num => ({ num, val: num % 3 === 0 ? 'fizz' : '' })), map(({ num, val }) => ({ num, val: num % 5 === 0 ? val + 'buzz' : val })), …
Anubhav
  • 155
  • 1
  • 6
1 2 3
43
44