{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/729","labels_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/729/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/729/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/729/events","html_url":"https://github.com/ReactiveX/RxJS/pull/729","id":116972713,"number":729,"title":"feat(callback): Add Observable.fromCallback","user":{"login":"SomeKittens","id":1616464,"avatar_url":"https://avatars.githubusercontent.com/u/1616464?v=3","gravatar_id":"","url":"https://api.github.com/users/SomeKittens","html_url":"https://github.com/SomeKittens","followers_url":"https://api.github.com/users/SomeKittens/followers","following_url":"https://api.github.com/users/SomeKittens/following{/other_user}","gists_url":"https://api.github.com/users/SomeKittens/gists{/gist_id}","starred_url":"https://api.github.com/users/SomeKittens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomeKittens/subscriptions","organizations_url":"https://api.github.com/users/SomeKittens/orgs","repos_url":"https://api.github.com/users/SomeKittens/repos","events_url":"https://api.github.com/users/SomeKittens/events{/privacy}","received_events_url":"https://api.github.com/users/SomeKittens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-15T04:51:49Z","updated_at":"2015-11-18T21:15:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/729","html_url":"https://github.com/ReactiveX/RxJS/pull/729","diff_url":"https://github.com/ReactiveX/RxJS/pull/729.diff","patch_url":"https://github.com/ReactiveX/RxJS/pull/729.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/comments/157865487","html_url":"https://github.com/ReactiveX/RxJS/pull/729#issuecomment-157865487","issue_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/729","id":157865487,"user":{"login":"kwonoj","id":1210596,"avatar_url":"https://avatars.githubusercontent.com/u/1210596?v=3","gravatar_id":"","url":"https://api.github.com/users/kwonoj","html_url":"https://github.com/kwonoj","followers_url":"https://api.github.com/users/kwonoj/followers","following_url":"https://api.github.com/users/kwonoj/following{/other_user}","gists_url":"https://api.github.com/users/kwonoj/gists{/gist_id}","starred_url":"https://api.github.com/users/kwonoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwonoj/subscriptions","organizations_url":"https://api.github.com/users/kwonoj/orgs","repos_url":"https://api.github.com/users/kwonoj/repos","events_url":"https://api.github.com/users/kwonoj/events{/privacy}","received_events_url":"https://api.github.com/users/kwonoj/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:15:14Z","updated_at":"2015-11-18T21:15:14Z","body":"Just rough guess, maybe test cases observable is not unsubscribed? \r\n\r\ncould possibly revise test case like below, what do you think @staltz ? \r\n```\r\nsource.bufferWhen(function () { return closing; })\r\n      .takeWhile(function(val, index) {\r\n        return index < TOO_MANY_INVOCATIONS;\r\n      })\r\n      .subscribe(function (val) {\r\n        expect(Array.isArray(val)).toBe(true);\r\n        expect(val.length).toBe(0);\r\n      }, done.fail, done);\r\n```"}}