apollo-angular
apollo-angular copied to clipboard
[Docs] Document Apollo.subscribe()
would love to work on this as my first issue here, @kamilkisiela please give me the go ahead for this
@co16353sidak 🆗 👍 let me know if you need anything and feel free to contact me :)
@kamilkisiela Is it open to work on?
@divyanshu-rawat yes :) It's there but it's not in the docs
So, @kamilkisiela can I work on this issue ?
of course! Let me know if you need anything from me
@kamilkisiela , cool then can you assign me this issue :)
I assigned you, put proper labels and created a milestone :))
@kamilkisiela do I have to document Apollo.subscribe() here?
https://www.apollographql.com/docs/ios/api/Apollo/extensions/ApolloClient/#methods
By adding this description I guess.
Subscribe to a subscription
Parameters:
subscription: The subscription to subscribe to.
fetchHTTPMethod: The HTTP Method to be used.
queue: A dispatch queue on which the result handler will be called. Defaults to the main queue.
resultHandler: An optional closure that is called when mutation results are available or when an error occurs.
Returns: An object that can be used to cancel an in progress subscription.
@kamilkisiela could you please give any insights on above comment?