Skip to main content

Questions tagged [rxjs]

The Reactive Extensions for JavaScript (RxJS) is a set of libraries for composing asynchronous and event-based programs.

2 votes
1 answer
286 views

I have this class EfficientStorageEventProvider, which is responsible for efficient handling of StorageEvent ...
Ivan Ivanyuk's user avatar
1 vote
1 answer
158 views

I would like to know if this is the best/most efficient/industry standard way of converting from the http response to an array of typed values: Type class: ...
Matt W's user avatar
  • 157
-1 votes
1 answer
1k views

I have many observables so I use combineLatest in RxJS. After get all results I need to check one of value by using if condition. If the condition meets then call ...
Love's user avatar
  • 369
1 vote
1 answer
97 views

I wrote a function in Typescript which takes required parameters, optional parameters and parameters with default value. I want to use this function for error handling of http requests. I am not sure, ...
Yusuf Ipek's user avatar
6 votes
1 answer
3k views

I have a usecase where I want to prevent unexpected duplicate Http calls. I'm wondering if I can have a custom operator which can be used in pipe for any API as shown in below ...
knowhow's user avatar
  • 61
1 vote
2 answers
159 views

I got this two subjects that both have a delay and I need the second one to be subscribed when the first one is completed, asynchronously. Both subjects only emit once (http requests) and I'm trying ...
azerafati's user avatar
  • 131
2 votes
1 answer
207 views

I created an rxjs search for a hiring company, but I got rejected for the following reason: -performance issue on a bigger data set. -bugs My question is how can I make this code better for the next ...
Gábor Pehl's user avatar
0 votes
1 answer
338 views

How can the following method be flattened? I tried to pipe all the operators to the first pipe (from(this.fireAuth.currentUser)) but I lost access to the previous ...
Olvis Camacho's user avatar
0 votes
1 answer
1k views

Context In an Angular application, I have three <select> boxes that are fed from the database with a relatively small data set. These boxes are part of a ...
usr-local-ΕΨΗΕΛΩΝ's user avatar
4 votes
2 answers
3k views

I have a project, for which I use Tokenauthentication with JWT Tokens. I am relatively new to Angular Development and rxjs in particular, so there are a lot of concepts I am likely not yet familiar ...
Philipp Doerner's user avatar
2 votes
1 answer
2k views

I have this code ...
rst's user avatar
  • 207
0 votes
1 answer
866 views

I want to refactor this code but am wondering how I should start it. I'm not sure this code is totally against clean code or not. I'm thinking to use RxJS or a JavaScript builtin method. I'd like to ...
DigguDg's user avatar
  • 63
1 vote
1 answer
5k views

Here's what I trying to do: Given a paginated API, get all the resources using parallel requests. The API returns a limited number of resources per call. So, you need to use an offset parameter to get ...
Adrian's user avatar
  • 111
2 votes
0 answers
57 views

The Article model supports a bunch of transitions. Only two are shown below: star()/unstar()....
lexeme's user avatar
  • 121

15 30 50 per page