What to learn if I want to make me my node app gets json data as soon as they are available ?
Say I post a new blog post, I want the app to automatically get the new JSON data as soon as the post is up.I thought of using settimeout() to make it keep rechecking but is there a better way ?
No comments:
Post a Comment