Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: chrisguttandin/worker-timers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.14
Choose a base ref
...
head repository: chrisguttandin/worker-timers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.0.15
Choose a head ref
  • 12 commits
  • 4 files changed
  • 1 contributor

Commits on Feb 10, 2025

  1. docs(readme): use const instead of var

    chrisguttandin committed Feb 10, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    jonesbusy Valentin Delaye
    Copy the full SHA
    2136c48 View commit details

Commits on Feb 18, 2025

  1. Copy the full SHA
    915be96 View commit details
  2. Copy the full SHA
    2140625 View commit details
  3. Copy the full SHA
    bbc980a View commit details
  4. Copy the full SHA
    7d2e08f View commit details
  5. Copy the full SHA
    82bc169 View commit details
  6. Copy the full SHA
    254be9f View commit details
  7. Copy the full SHA
    16bed6d View commit details
  8. Copy the full SHA
    0fcc8a9 View commit details
  9. Copy the full SHA
    7688173 View commit details
  10. Copy the full SHA
    f9c1a08 View commit details
  11. 8.0.15

    chrisguttandin committed Feb 18, 2025
    Copy the full SHA
    f9cda23 View commit details
Showing with 322 additions and 421 deletions.
  1. +2 −2 README.md
  2. +309 −408 package-lock.json
  3. +10 −10 package.json
  4. +1 −1 src/worker/worker.ts
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -29,13 +29,13 @@ The usage is exactly the same (despite of the [error handling](#error-handling)
as with the corresponding functions on the global scope.

```js
var intervalId = setInterval(() => {
const intervalId = setInterval(() => {
// do something many times
}, 100);

clearInterval(intervalId);

var timeoutId = setTimeout(() => {
const timeoutId = setTimeout(() => {
// do something once
}, 100);

Loading