Discussion about this post

User's avatar
Jugo Rocks's avatar

thanks! i didn't know that clearInterval clears timeouts as well πŸ˜„

is there a point you use .apply() instead of spread operator like:

```

return (...args) => {

clearTimeout(interval);

interval = setTimeout(() => func(...args), delay);

}

```

Expand full comment
Jacobs Silverman's avatar

I love how EchoAPI allows for real-time API testing. It provides instant feedback, which is invaluable during development.

Expand full comment

No posts