Skip to content

Support passing options to asyncIterableIterator #278

@boehlkers

Description

@boehlkers

Thanks for the new 3.0.0 release! I'm trying to use 3.0.0 now instead of the asyncIterator implementation in graphql-redis-subscriptions, in implementing redis subscriptions; however, the pubsubAsyncIterator class implemented here does not have an ability to pass options through from the constructor through to the underlying pubsub.subscribe call.

Could we add a third argument to the constructor of PubSubAsyncIterableIterator (and the associated asyncIterableIterator function in PubSubEngine) which passes options through to the underlying subscribe call? This would mirror the capabilities provided by subscribe.

Metadata

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