{"action":"opened","issue":{"url":"https://api.github.com/repos/bcardiff/elm-debounce/issues/3","repository_url":"https://api.github.com/repos/bcardiff/elm-debounce","labels_url":"https://api.github.com/repos/bcardiff/elm-debounce/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bcardiff/elm-debounce/issues/3/comments","events_url":"https://api.github.com/repos/bcardiff/elm-debounce/issues/3/events","html_url":"https://github.com/bcardiff/elm-debounce/issues/3","id":192743649,"number":3,"title":"Throttling behavior","user":{"login":"mpizenberg","id":2905865,"avatar_url":"https://avatars.githubusercontent.com/u/2905865?v=3","gravatar_id":"","url":"https://api.github.com/users/mpizenberg","html_url":"https://github.com/mpizenberg","followers_url":"https://api.github.com/users/mpizenberg/followers","following_url":"https://api.github.com/users/mpizenberg/following{/other_user}","gists_url":"https://api.github.com/users/mpizenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mpizenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpizenberg/subscriptions","organizations_url":"https://api.github.com/users/mpizenberg/orgs","repos_url":"https://api.github.com/users/mpizenberg/repos","events_url":"https://api.github.com/users/mpizenberg/events{/privacy}","received_events_url":"https://api.github.com/users/mpizenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-01T03:09:11Z","updated_at":"2016-12-01T03:09:11Z","closed_at":null,"body":"Hi, what would you think about adding a throttling behavior (there is a very good explanation about similarities and differences between throttling and debouncing on [css-tricks][])?\r\n\r\nIn case you think it could fit here, how do you think the api should evolve? (adding a Throttle module or not? changing the `debounce`, `debounce1`, ... names, since it would not only be debounce anymore, or not? etc.) That can have a big or a slight impact on the current API, but I doubt it could be done without bumping to a new major realease without sacrificing the quality of the lib.\r\n\r\nYou can have an overview of an implementation of throttle I did in the [throttle branch of my fork][throttle]. I have not necessarily made the best api / implementation choices here, please just consider it a proof of concept.\r\n\r\n[css-tricks]: https://css-tricks.com/debouncing-throttling-explained-examples/\r\n[throttle]: https://github.com/mpizenberg/elm-debounce/tree/throttle"}}
{"actor":{"display_login":"mpizenberg"}}