Observable.merge ReactiveX - Merge operator Observable.merge API Document Observable.merge Source Code 可変長引数で observable を取ります。各 Observable に値が流れてくるたびに、それをそのまま流します。 import { Observable } from 'rx'; Observable .merge( Observable.from([1, 2, 3]), Observable.from(['A', 'B']) ) .subscribe( value => console.log(`onNext: ${value}`), error => console.log(`onError: ${error}`), () => console.log('onComplet
![RxJS の Operators (4) - Observable の結合 (1) - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/4d6b177ee685341661795a03d0bcb73f0db39c65/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Fadvent-calendar-ogp-background-7940cd1c8db80a7ec40711d90f43539e.jpg%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9UnhKUyUyMCVFMyU4MSVBRSUyME9wZXJhdG9ycyUyMCUyODQlMjklMjAtJTIwT2JzZXJ2YWJsZSUyMCVFMyU4MSVBRSVFNyVCNSU5MCVFNSU5MCU4OCUyMCUyODElMjkmdHh0LWFsaWduPWxlZnQlMkN0b3AmdHh0LWNvbG9yPSUyMzNBM0MzQyZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT01NiZzPTA4NWRmYTBlMjY4M2JiOTQ3MjkyM2MxMTVhYWQ2MjUw%26mark-x%3D120%26mark-y%3D96%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9OTcyJnR4dD0lNDBib3V6dXlhJnR4dC1jb2xvcj0lMjMzQTNDM0MmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9MzYmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz1lM2U5YTAxOTM4NDI3MTczZDMyNDhmNGYxMzY1NjU4MA%26blend-x%3D120%26blend-y%3D500%26blend-mode%3Dnormal%26s%3D8ba9b6688a339b499f78efeef2980caf)