Skip to content Skip to sidebar Skip to footer

Unable To Subscribe After Forkjoin

I want to perform some firebase operation inside a loop in angular. When I send an HTTP request to firebase it returns an array of observables so using forkjoin i convert this arr

Solution 1:

The problem is with the code forkJoin([data]).

Your data it's already an array of Observables, so you just pass it to forkJoin like this: forkJoin(data).


Post a Comment for "Unable To Subscribe After Forkjoin"