k6-docs icon indicating copy to clipboard operation
k6-docs copied to clipboard

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

Open ts-sean-foley opened this issue 1 year ago • 0 comments

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.

ts-sean-foley avatar Dec 04 '24 17:12 ts-sean-foley