Skip to content

Commit 44a2828

Browse files
committed
subscription: added a comment
1 parent 3b13576 commit 44a2828

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subscription.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func (self *SubscriptableSchema) Subscribe(ctx context.Context, queryString stri
5757
}
5858

5959
// Subscribe performs a subscribe operation on the given query and schema
60+
// To finish a subscription you can simply close the channel from inside the `Subscribe` function
6061
// currently does not support extensions hooks
6162
func Subscribe(p Params) chan *Result {
6263

0 commit comments

Comments
 (0)