You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation for firstValueFrom:
If the observable stream completes before any values were emitted, the returned promise will reject with EmptyError or will resolve with the default value if a default was specified.
Describe the bug
According to the documentation for
firstValueFrom
:However, with this line of code:
...the
match
value resolves toundefined
;EmptyError
is not thrown.Expected behavior
firstValueFrom
should either match the documented behavior or the documentation should be fixed.Reproduction code
Reproduction URL
No response
Version
7.8.1
Environment
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: