-
|
i have some observables ready$
buildModules$I want to chain these observables so that ready$ is called first always, and buildModules$ calls after. ready$.pipe(
switchMapTo(() => buildModules$)
)But I feel like there could be a better way to tackle this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
In the example below, the subscription to concat(
ready$.pipe(ignoreElements()),
buildModules$,
) |
Beta Was this translation helpful? Give feedback.
-
|
thanks! |
Beta Was this translation helpful? Give feedback.
In the example below, the subscription to
buildModules$will happen only aftercompletehappens inready$. Events fromready$will be completely ignored.