I have checked my project that forkjoin is being deprecated, since forkjoin
is deprecated from angular what is the best option to use instead?
Method signature changed, it now accepts an array of ObservableInput
or a dictionary Object
of ObservableInput
.
ObservableInput
- Valid types that can be converted to observables.
See rxjs.dev/api/index/function/forkJoin
Accepts an Array of
ObservableInput
or a dictionaryObject
ofObservableInput
and returns anObservable
that emits either an array of values in the exact same order as the passed array, or a dictionary of values in the same shape as the passed dictionary.