Comments (1)
Hi @wouterhund ,
Thanks a lot for raising this issue. It looks like the warning on React Native got removed since you wrote:
I've also reduced the noop interval in this library to avoid the warning for anyone stuck on older versions of RN. Either way, it should have no functional impact on this library at all. The change will be available in the next published version.
It also seems that this noopInterval won't be cleared if any of the promises throw during await Promise.all, so perhaps using a try/finally block would be appropriate.
Exactly. However, that's why all promises in that array are appended with a .catch(noop)
earlier in the same function.
from set-interval-async.
Related Issues (19)
- Enough stability for production use HOT 1
- Publish as scoped package HOT 1
- Add a way to change the interval HOT 1
- setIntervalAsync stop working after some hours HOT 3
- 404 error HOT 1
- [Feature Request] Run immediately HOT 9
- Importing dependencies like an example in the readme breaks clearIntervalAsync HOT 3
- clear interval from setIntervalAsync inside HOT 1
- first method for es6 import not work in nodejs HOT 1
- Any race condition ? Possibility to pause while inside the setIntervalAsync ? HOT 1
- clearIntervalAsync inside setIntervalAsync callback stops the execution HOT 1
- Error when running with Webpack 5 HOT 1
- Handling computer sleep HOT 1
- Cannot find module 'set-interval-async/dynamic' or its corresponding type declarations. HOT 1
- Cannot be imported to non-TypeScript project after 3.0.0-3.0.2 HOT 2
- /node_modules/set-interval-async/dist/set-interval-async-timer.cjs:25 HOT 4
- Can't import the named export 'clearIntervalAsync' (reexported as 'clearIntervalAsync') from default-exporting module (only default export is available) HOT 1
- Swallowing errors? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from set-interval-async.