HandyPantry / handy-pantry

MIT License
0 stars 1 forks source link

Remove deprecated rxjs toPromise #45

Closed NicMcPhee closed 2 years ago

NicMcPhee commented 2 years ago

The RxJS toPromise() call is deprecated and will be removed in RxJS 8. We use it in two places, and this replaces both of those uses with calls to lastValueFrom(), which does actually read quite nicely, TBH.

Closes #44