0
海兰所有,即时通讯已经询问从rxjs联合运营...例子在JavaScript
我有位点阵列:
const sites = [
{ name:'siteOne', url: 'http://www.example.com' },
{ name:'siteTwo', url: 'http://www.google.com' },
{ name:'siteThree', url: 'http://www.google.com' }
]
所以,我不想让每个请求时间,但我需要让每个网站的网址一个请求,不是做出新的数据流,与网站相结合,这样的:
[ html, siteTwo, siteThree]
[ html, siteOne ]
任何方式做到这一点?谢谢
谢谢!这是一个很好的例子,如何使用投影功能 – huadev