apollographql / graphql-subscriptions

:newspaper: A small module that implements GraphQL subscriptions for Node.js
MIT License
1.59k stars 133 forks source link

Add a check such that next can be called after a return (fixes #201) #205

Closed grantwwu closed 4 years ago

grantwwu commented 5 years ago

Have next check that the async iterator hasn't already completed.

grantwwu commented 5 years ago

Fixes #201

grantwwu commented 4 years ago

I'm closing because nobody has reviewed this in a while and I want to get it off my Pull Requests tab. Feel free to reopen this if desired.