Skip to content

Flow length #1

Description

@CharlesWall

It would be nice to know how many items were already enqueued under a given flow Id and maybe even cancel/throw if we exceeded a configurable maximum.

drrFairQueue.getLength('my-flow-id'); // 16

drrFairQueue.push('my-flow-id', someValue); //throws error "Maximum Flow Size exceeded"

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