question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: pub_sub_1.pubSub.asyncIterator is not a function

See original GitHub issue

Hi, graphql-subscriptions has been released with version 0.4.0, and graphql-redis-subscriptions does not work, because breaking changes.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:11
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
ozyman42commented, Jun 10, 2017

That’s a good point! This implementation is basically already generic so it should be able to apply to any PubSubEngine. I’m dealing with a few bugs, and the tests are written now. Once I fix all that I’ll push and submit a PR.

3reactions
davidyahacommented, Jun 8, 2017

Hey @akaNightmare @ArnaudRinquin, Sorry to keep you waiting but I will be able to work on the API only next week. I’ll happily review and merge any of your PR’s so if you know what to do, go for it!

Thanks for using this project and I hope there is no resentment 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

pubsub.asyncIterator is not a function · Issue #3 - GitHub
I'm trying to use your library as a replacement for the @fmannhardt/graphql-kafka-subscriptions library which has a dependency on node-rdkafka.
Read more >
Subscriptions in Apollo Server - Apollo GraphQL Docs
The subscribe function must return an object of type AsyncIterator , a standard interface for iterating over asynchronous results. In the above postCreated....
Read more >
Apollo server subscription not recognizing Async Iterable
This is what a subscription resolver expects to be returned. const iterator = pubsub.asyncIterator(topic); // Wrap the publish function on ...
Read more >
How to use the apollo-server-express.PubSub function ... - Snyk
To help you get started, we've selected a few apollo-server-express.PubSub examples, based on popular ways it is used in public projects.
Read more >
GraphQL Subscriptions with Apollo Server and Client
If you have an understanding of GraphQL, there's not much new to learn, ... import { PubSub } from 'apollo-server'; const pubsub =...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found