We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to figure out how to know when someone isn't subscribed anymore.
Ran the example which works great but unable to know when someone is disconnected..
import asyncio import graphene class Subscription(graphene.ObjectType): count_seconds = graphene.Float(up_to=graphene.Int()) async def resolve_count_seconds(root, info, up_to=5): for i in range(up_to): print("YIELD SECOND", i) yield i await asyncio.sleep(1.) yield up_to schema = graphene.Schema(subscription=Subscription)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Trying to figure out how to know when someone isn't subscribed anymore.
What I Did
Ran the example which works great but unable to know when someone is disconnected..
The text was updated successfully, but these errors were encountered: