Skip to content
New issue

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

Documentation feedback: /docs/sources/k6/v0.55.x/javascript-api/k6-experimental/redis/client/client-llen.md #1821

Open
ts-sean-foley opened this issue Dec 4, 2024 · 0 comments

Comments

@ts-sean-foley
Copy link

Would like to know if this documentation is correct.
The promise return details imply the possibility that the promise will reject with error if the list does not exist, but the overall function details note that would return zero if the there is no list at a given key. It seems like a discrepancy. Returning zero for a non-existent list seems like normal redis behavior, but I am just trying to understand any possibility of rejection I would need to cover here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant