DEV Community

Discussion on: setTimeout is a callback-style function. What would happen if we change that?

 
joelnet profile image
JavaScript Joel

This is interesting. I'll have to create some test project with the .cancel and an AbortController. Maybe I'll create a debounce to compare the differences.

Definitely something to think about.