Better Subscription
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
Subscriptions need to be implemented.
They can be that easy:
```js
var onCommentsAdded = graph.subscribe`{ commendAdded { user {name}, text } }`
onCommentsAdded(function (data) {
console.log(data.user.name)
})
```
And can be unsubscribed.
```js
var onCommentsAdded = graph.subscribe`{ commendAdded { user {name}, text } }`
onCommentsAdded.unsubscribe()
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.