Skip to content

Instantly share code, notes, and snippets.

@Akryum
Created September 21, 2016 18:24
Show Gist options
  • Save Akryum/188f0e3b7829c7b174db083f0d5d9ec9 to your computer and use it in GitHub Desktop.
Save Akryum/188f0e3b7829c7b174db083f0d5d9ec9 to your computer and use it in GitHub Desktop.
Polling vue-apollo query
apollo: {
posts: {
query: postsQuery,
loadingKey: 'loading',
// Polling query
pollInterval: 300, // ms
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment