Skip to content

Add Remove Option in GetByScoreRangeOptions #12

@parkerroan

Description

@parkerroan

This is a feature request to add a remove option to the options struct for GetByScoreRange. I have a branch and test case written, @wangjia184 could I have write access to push my branch and open a PR?

The use case is to "Pop" a range of scores without another iteration using Remove. I would like to use sortedset to delay values to a unix timestamp in the future(now + buffer). Then use GetByScoreRange to retrieve the items that are in the past like a queue. It will allow me to buffer messages and agg duplicates by key before publishing them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions