我看到 rxjs 将弃用 toPromise()。我们应该使用lastValueFrom 来代替。我想请问这背后的原因是什么?
语法 .toPromise() 更加简洁。
rxjs typescript
rxjs ×1
typescript ×1