apollographql / subscriptions-transport-ws

:arrows_clockwise: A WebSocket client + server for GraphQL subscriptions
https://www.npmjs.com/package/subscriptions-transport-ws
MIT License
1.52k stars 342 forks source link

fix #222 #823

Closed OmgImAlexis closed 2 years ago

OmgImAlexis commented 4 years ago

So far I've quickly checked this with one of our graphql servers and everything works fine.

This should prevent an unhandledRejection being thrown for onConnect.