JS API Reference
Module: shared/utils/rxjs
Table of contents
Functions
Functions
mergeUntilFirstComplete
▸ mergeUntilFirstComplete<FirstObsType
, SecondObsType
>(observable1
, observable2
): Observable
<FirstObsType
| SecondObsType
>
Merges two observables until the first one completes (or errors). The difference between this and merge
is that this will complete when the first observable completes, while merge
would only complete when all observables complete.
Type parameters
Name |
---|
FirstObsType |
SecondObsType |
Parameters
Name | Type |
---|---|
observable1 | Observable <FirstObsType > |
observable2 | Observable <SecondObsType > |
Returns
Observable
<FirstObsType
| SecondObsType
>