Skip to content

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

Open
@ts-sean-foley

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions