{"action":"closed","issue":{"url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/720","labels_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/720/comments","events_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/720/events","html_url":"https://github.com/Reactive-Extensions/RxJS/issues/720","id":77766181,"number":720,"title":"take(n) does not complete if observer triggers a new value while observing the last value","user":{"login":"bman654","id":541772,"avatar_url":"https://avatars.githubusercontent.com/u/541772?v=3","gravatar_id":"","url":"https://api.github.com/users/bman654","html_url":"https://github.com/bman654","followers_url":"https://api.github.com/users/bman654/followers","following_url":"https://api.github.com/users/bman654/following{/other_user}","gists_url":"https://api.github.com/users/bman654/gists{/gist_id}","starred_url":"https://api.github.com/users/bman654/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bman654/subscriptions","organizations_url":"https://api.github.com/users/bman654/orgs","repos_url":"https://api.github.com/users/bman654/repos","events_url":"https://api.github.com/users/bman654/events{/privacy}","received_events_url":"https://api.github.com/users/bman654/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-18T18:56:52Z","updated_at":"2015-05-22T11:37:15Z","closed_at":"2015-05-22T11:37:15Z","body":"`q` in the following code will never see the completed notification:\r\n\r\n```javascript\r\nvar s = new Rx.Subject();\r\nvar q = s.take(1);\r\nq.subscribe(function (value) { s.onNext(value + 1); });\r\ns.onNext(1);\r\n```\r\n\r\nSee this jsFiddle: http://jsfiddle.net/bman654/4m17fke5/\r\n"}}