{"action":"created","issue":{"url":"https://api.github.com/repos/staltz/xstream/issues/259","repository_url":"https://api.github.com/repos/staltz/xstream","labels_url":"https://api.github.com/repos/staltz/xstream/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/staltz/xstream/issues/259/comments","events_url":"https://api.github.com/repos/staltz/xstream/issues/259/events","html_url":"https://github.com/staltz/xstream/pull/259","id":342519220,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNDAxNjI0","number":259,"title":"feat(debounce): emit pending value on completion","user":{"login":"xtianjohns","id":2087279,"node_id":"MDQ6VXNlcjIwODcyNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/2087279?v=4","gravatar_id":"","url":"https://api.github.com/users/xtianjohns","html_url":"https://github.com/xtianjohns","followers_url":"https://api.github.com/users/xtianjohns/followers","following_url":"https://api.github.com/users/xtianjohns/following{/other_user}","gists_url":"https://api.github.com/users/xtianjohns/gists{/gist_id}","starred_url":"https://api.github.com/users/xtianjohns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtianjohns/subscriptions","organizations_url":"https://api.github.com/users/xtianjohns/orgs","repos_url":"https://api.github.com/users/xtianjohns/repos","events_url":"https://api.github.com/users/xtianjohns/events{/privacy}","received_events_url":"https://api.github.com/users/xtianjohns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-18T22:51:57Z","updated_at":"2018-07-21T14:48:10Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/staltz/xstream/pulls/259","html_url":"https://github.com/staltz/xstream/pull/259","diff_url":"https://github.com/staltz/xstream/pull/259.diff","patch_url":"https://github.com/staltz/xstream/pull/259.patch"},"body":"Emit any pending value, then complete, if a source stream completes before a debounce interval closes.\r\n\r\n## Description\r\nIn order to be able to emit the latest value upon completion, the operator needs access to the most recent value. In the previous implementation, the emission took place in a closure created by `setTimeout`, so now the operator has a new property `t` which keeps track of this emission.\r\n\r\nThis value is cleared when the debounce interval closes and upon completion.\r\n\r\nResolve #257.\r\nProbably should close #127."},"comment":{"url":"https://api.github.com/repos/staltz/xstream/issues/comments/406801349","html_url":"https://github.com/staltz/xstream/pull/259#issuecomment-406801349","issue_url":"https://api.github.com/repos/staltz/xstream/issues/259","id":406801349,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjgwMTM0OQ==","user":{"login":"xtianjohns","id":2087279,"node_id":"MDQ6VXNlcjIwODcyNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/2087279?v=4","gravatar_id":"","url":"https://api.github.com/users/xtianjohns","html_url":"https://github.com/xtianjohns","followers_url":"https://api.github.com/users/xtianjohns/followers","following_url":"https://api.github.com/users/xtianjohns/following{/other_user}","gists_url":"https://api.github.com/users/xtianjohns/gists{/gist_id}","starred_url":"https://api.github.com/users/xtianjohns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtianjohns/subscriptions","organizations_url":"https://api.github.com/users/xtianjohns/orgs","repos_url":"https://api.github.com/users/xtianjohns/repos","events_url":"https://api.github.com/users/xtianjohns/events{/privacy}","received_events_url":"https://api.github.com/users/xtianjohns/received_events","type":"User","site_admin":false},"created_at":"2018-07-21T14:48:09Z","updated_at":"2018-07-21T14:48:09Z","author_association":"CONTRIBUTOR","body":"🤦‍♂️ It really has been awhile since I've worked on this - good catch, @staltz."}}
{"actor":{"display_login":"xtianjohns"}}