Hacker Recumbent Bike from the 80s
youtube.com2 pointsby capn_duck2 comments
export function pipeline(in$: Observable<Product>):
Observable<string> {
return in$.pipe(
mergeMap(product => from(product.Images)),
);
}
Why use mergeMap at all here? Why not not just return in$.pipe(
map(product => product.Images),
);
I get that this is a toy example, not trying to be pedantic.