Hello I am using RxJS combineLatest
operator and getting this error. Could someone let me know what changes I should do
问问题
40 次
1 回答
1
- Please don't post screenshots of code. It makes it stupid hard to reproduce the issue.
- In the latest versions of RxJS,
combineLatest
is static akin toforkJoin
. So you need to initialize an observable out of it. See v5 -> v6 migration guide and search forcombineLatest
.
import { combineLatest } from 'rxjs';
this.searchResult = combineLatest(this.searchQuery$, this.listMachines).pipe(...);
于 2021-02-19T09:08:41.420 回答