https://github.com/hacknlove/reactive-interval
invalidate the computation each n miliseconds
https://github.com/hacknlove/reactive-interval
Last synced: 16 days ago
JSON representation
invalidate the computation each n miliseconds
- Host: GitHub
- URL: https://github.com/hacknlove/reactive-interval
- Owner: hacknlove
- Created: 2017-09-16T13:16:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-16T13:18:47.000Z (over 8 years ago)
- Last Synced: 2025-01-08T20:51:04.433Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```javascript
import { reactiveInterval } from 'meteor/hacknlove:reactive-interval'
Meteor.autorun(function () {
// ...
reactiveInterval(1000) // invalidate computation each 1000 miliseconds
// ...
})
Template.foo.helpers(function () {
// ...
reactiveInterval(1000)
// ...
})
```