Improved semantics when returning from switchMap

This commit is contained in:
squidfunk 2022-03-08 10:33:30 +01:00
parent 1d1cf476c8
commit 366a5ea3a4

View File

@ -143,7 +143,7 @@ export function mountSearchResult(
.pipe( .pipe(
bufferCount(4), bufferCount(4),
zipWith(boundary$), zipWith(boundary$),
switchMap(([chunk]) => of(...chunk)) switchMap(([chunk]) => chunk)
) )
)) ))
) )