{"action":"closed","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/17210","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/17210/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/17210/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/17210/events","html_url":"https://github.com/emberjs/ember.js/issues/17210","id":381131042,"node_id":"MDU6SXNzdWUzODExMzEwNDI=","number":17210,"title":"'debounce' shifts execution of 'later' callback","user":{"login":"azhiv","id":32125472,"node_id":"MDQ6VXNlcjMyMTI1NDcy","avatar_url":"https://avatars2.githubusercontent.com/u/32125472?v=4","gravatar_id":"","url":"https://api.github.com/users/azhiv","html_url":"https://github.com/azhiv","followers_url":"https://api.github.com/users/azhiv/followers","following_url":"https://api.github.com/users/azhiv/following{/other_user}","gists_url":"https://api.github.com/users/azhiv/gists{/gist_id}","starred_url":"https://api.github.com/users/azhiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azhiv/subscriptions","organizations_url":"https://api.github.com/users/azhiv/orgs","repos_url":"https://api.github.com/users/azhiv/repos","events_url":"https://api.github.com/users/azhiv/events{/privacy}","received_events_url":"https://api.github.com/users/azhiv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-15T12:03:32Z","updated_at":"2018-11-19T19:17:57Z","closed_at":"2018-11-19T19:17:57Z","author_association":"NONE","body":"Good day!\r\nRecently I've encountered a weird problem facing unexpected behaviour when using `debounce`.\r\nMore specifically: for an unknown reason the result is different for the two calls below:\r\n`debounce(this, this.setIdle, 1000);`\r\n`debounce(this, () => this.setIdle(), 1000);`\r\nI know it may sound crazy but this is the only difference. The first statement shifts execution of another `later` callback (not that it's run with a little delay - it literally blocks the later's callback execution which is not expected) while the second one executes both callbacks independently.\r\nHere is the [twiddle](https://ember-twiddle.com/ca3339ed2631bf958b47efe790e198d6?openFiles=controllers.application.js%2C)."}}
{"actor":{"display_login":"rwjblue"}}