deno icon indicating copy to clipboard operation
deno copied to clipboard

fix(ext/node/polyfills): New async setInterval function to improve the nodejs compatibility

Open cu8code opened this issue 3 months ago • 1 comments

#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.

cu8code avatar Nov 03 '24 19:11 cu8code