We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This can be trivially verified by altering the first unit test:
const stream = xs.periodic(50).take(0); const expected = [];
Obviously you would never literally take(0) but in a case of take(n), this requires a special case for n === 0.
The text was updated successfully, but these errors were encountered:
Thanks. Seems obvious to fix.
Sorry, something went wrong.
fix(take): fix behavior for take(0)
d965294
take(0) should just immediately complete, like xs.empty() Closes issue #107.
Fixed in v5.3.5
No branches or pull requests
This can be trivially verified by altering the first unit test:
Obviously you would never literally take(0) but in a case of take(n), this requires a special case for n === 0.
The text was updated successfully, but these errors were encountered: