davidyaha / graphql-redis-subscriptions

A graphql subscriptions implementation using redis and apollo's graphql-subscriptions
MIT License
1.11k stars 125 forks source link

Callback when connection is closed? #602

Open simplenotezy opened 1 year ago

simplenotezy commented 1 year ago

Is there a way to perform an action when a socket is closed using asyncIterator?

I'd like to fire a method whenever the connection to the client is closed