deno
deno copied to clipboard
fix(ext/node/polyfills): New async setInterval function to improve the nodejs compatibility
#26499
This PR adds a better implementation of setInterval
using async functions, similar to the one in Node.js. It's mostly based on the Node.js version, with some updates to error handling and logic.
The PR is complete, but I need help with:
- Running a single test file
- Deciding where to place my test files
Currently, I have a test to validate my code, but I’m running it outside of cargo test
because running all tests at once is frustrating and often causes my system to freeze due to high memory use. This issue occurred even before my changes.