Created
September 21, 2016 18:24
-
-
Save Akryum/188f0e3b7829c7b174db083f0d5d9ec9 to your computer and use it in GitHub Desktop.
Polling vue-apollo query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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