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

NameType
observable1Observable<FirstObsType>
observable2Observable<SecondObsType>

Returns

Observable<FirstObsType | SecondObsType>

Defined in

src/shared/utils/rxjs.ts:8