Skip to content

Lazy subscription is not expected behavior #632

@masad-frost

Description

@masad-frost

When calling asyncIterator it doesn't immediately subscribe to redis topics, it waits until the iteration starts (next is called) to subscribe. This is unexpected behavior (checked with a few engineers). To avoid breaking changes, would you be open to adding an option that makes the subscription start (and buffer values to the queue) as soon as the iterator is created?

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