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
{{ message }}
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
The documentation says that values() returns an async iterator, but actually it just blocks until the channel is closed and then returns all the values at once in an array.
The text was updated successfully, but these errors were encountered:
The documentation is confusing. values is an async function that returns a promise to an iterator, not an AsyncIterator. I've updated the documentation to make it (hopefully) a bit more clear.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The documentation says that
values()
returns an async iterator, but actually it just blocks until the channel is closed and then returns all the values at once in an array.The text was updated successfully, but these errors were encountered: