{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2485","labels_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2485/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2485/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2485/events","html_url":"https://github.com/ReactiveX/RxJava/issues/2485","id":55175515,"number":2485,"title":"Observable Asynchronous","user":{"login":"pradhakrishnan","id":1951508,"avatar_url":"https://avatars.githubusercontent.com/u/1951508?v=3","gravatar_id":"","url":"https://api.github.com/users/pradhakrishnan","html_url":"https://github.com/pradhakrishnan","followers_url":"https://api.github.com/users/pradhakrishnan/followers","following_url":"https://api.github.com/users/pradhakrishnan/following{/other_user}","gists_url":"https://api.github.com/users/pradhakrishnan/gists{/gist_id}","starred_url":"https://api.github.com/users/pradhakrishnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradhakrishnan/subscriptions","organizations_url":"https://api.github.com/users/pradhakrishnan/orgs","repos_url":"https://api.github.com/users/pradhakrishnan/repos","events_url":"https://api.github.com/users/pradhakrishnan/events{/privacy}","received_events_url":"https://api.github.com/users/pradhakrishnan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReactiveX/RxJava/labels/Question","name":"Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-22T16:36:47Z","updated_at":"2015-01-22T16:51:49Z","closed_at":null,"body":"Hi Team,\r\n\r\nI have an issue with observable async operation. Basically I want to do some action in parallel and finally i need to zip all the observable results into single results. I noticed that all are going in the same thread so call goes synchronously. Can someone please help me to fix that issue.\r\n\r\nE.g:\r\n\r\nMy Code\r\n```\r\nObservable<Set<Result>> rSet = Observable.zip(Observable.create(new ItemsOnSubscribe(data1),\r\nObservable.create(new ItemsOnSubscribe(data2))\r\n        new Func2<Set<Result>, Set<Result>, Set<Result>>() {\r\n\r\n          @Override\r\n          public Set<EntitledItem> call(Set<EntitledItem> t1,\r\n              Set<EntitledItem> t2, ) {\r\n            returnSet.addAll(t1);\r\n            returnSet.addAll(t2);\r\n            return returnSet;\r\n          }\r\n    });\r\n```\r\nMy expectation here is call to Observable.create(new ItemsOnSubscribe(data1) and Observable.create(new ItemsOnSubscribe(data1) execute in parallel but it is going in sequentially.\r\n\r\nSomeone please help me on this.\r\n\r\nRegards\r\nPranesh"},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxJava/issues/comments/71053386","html_url":"https://github.com/ReactiveX/RxJava/issues/2485#issuecomment-71053386","issue_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2485","id":71053386,"user":{"login":"pradhakrishnan","id":1951508,"avatar_url":"https://avatars.githubusercontent.com/u/1951508?v=3","gravatar_id":"","url":"https://api.github.com/users/pradhakrishnan","html_url":"https://github.com/pradhakrishnan","followers_url":"https://api.github.com/users/pradhakrishnan/followers","following_url":"https://api.github.com/users/pradhakrishnan/following{/other_user}","gists_url":"https://api.github.com/users/pradhakrishnan/gists{/gist_id}","starred_url":"https://api.github.com/users/pradhakrishnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradhakrishnan/subscriptions","organizations_url":"https://api.github.com/users/pradhakrishnan/orgs","repos_url":"https://api.github.com/users/pradhakrishnan/repos","events_url":"https://api.github.com/users/pradhakrishnan/events{/privacy}","received_events_url":"https://api.github.com/users/pradhakrishnan/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T16:51:49Z","updated_at":"2015-01-22T16:51:49Z","body":"Thanks Akarnokd, Really appreciate your help, Let me try the fix you told and will update the status."}}