hasura / hasura/nodejs-graphql-subscriptions-boilerplate
Close client to exit process gracefully
Open
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Thanks a lot for this example, it's very useful.
I thought I'd mention something I noticed when using this, which is that the process doesn't exit because the client created with `new SubscriptionClient` keeps the socket connection open.
To exit gracefully the client needs to be closed, for example by invoking its `close()` method. It may be worth adding to the docs or the examples.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.