Angular2 Observable.forkJoin of observable variables - ReferenceError: Observable is not defined

后端 未结 3 1229
没有蜡笔的小新
没有蜡笔的小新 2020-12-30 02:50

I\'d like to ask you for help. I omitted code that I assume is not important. Let\'s imagine TS file that contains service calls:

// file: someService.ts

<         


        
3条回答
  •  北荒
    北荒 (楼主)
    2020-12-30 03:51

    you can refer to this link for more information about using forkjoin() method to run multiple concurrent http.get() requests.Here u can get a complete working example.

    http://www.metaltoad.com/blog/angular-2-http-observables

提交回复
热议问题