Re: [whatwg] DOM Feature Mod: Add metering / parallelism & throttling options to AddEventListenerOptions

2017-12-01 Thread Garrett Smith
. > >> On Fri, Dec 1, 2017 at 4:36 AM David Bruant wrote: >> >>> Le 28/11/2017 à 00:48, Jonathan Zuckerman a écrit : >>> You’re probably aware there are libraries that offer functionality of >> this >>> sort (debounce and throttle in underscore/lodash is the one I’m most

Re: [whatwg] DOM Feature Mod: Add metering / parallelism & throttling options to AddEventListenerOptions

2017-12-01 Thread Sylon Zero
David, To clarify your message: it sounds like it is primarily feedback to Jonathan about the fact that a wide range of use cases and awareness of options exist in the Web community at large, and also that some of the existing options in the addEventListener parameters are useful even though one

Re: [whatwg] DOM Feature Mod: Add metering / parallelism & throttling options to AddEventListenerOptions

2017-12-01 Thread David Bruant
Le 28/11/2017 à 00:48, Jonathan Zuckerman a écrit : You’re probably aware there are libraries that offer functionality of this sort (debounce and throttle in underscore/lodash is the one I’m most familiar with) and the web community seems content to add a small dependency when such functionality

Re: [whatwg] DOM Feature Mod: Add metering / parallelism & throttling options to AddEventListenerOptions

2017-11-28 Thread Jonathan Zuckerman
>From my own experience, only about half of the times I’ve required debounce or throttle has been related to event handling, so if your proposal was accepted I’d still need to include a library to satisfy the other scenarios. On Tue, Nov 28, 2017 at 00:01 Sylon Zero wrote: >

Re: [whatwg] DOM Feature Mod: Add metering / parallelism & throttling options to AddEventListenerOptions

2017-11-27 Thread Sylon Zero
I think libraries having those functions emphasizes the point here, as that validates the existence and need for those patterns which then raises the requirement: should this be native to the browser? I believe the answer is yes, given how much work has already been put into standardizing the

Re: [whatwg] DOM Feature Mod: Add metering / parallelism & throttling options to AddEventListenerOptions

2017-11-27 Thread Jonathan Zuckerman
You’re probably aware there are libraries that offer functionality of this sort (debounce and throttle in underscore/lodash is the one I’m most familiar with) and the web community seems content to add a small dependency when such functionality is required. How would you convince browser vendors