{"action":"created","comment":{"url":"https://api.github.com/repos/ReactiveX/RxJava/pulls/comments/46914380","id":46914380,"diff_hunk":"@@ -1205,6 +1208,31 @@ public void onError(Throwable error) {\n     }\n \n     /**\n+     * Returns a Single that emits the result of specified combiner function applied to combination of\n+     * items emitted, in sequence, by an Iterable of other Singles.\n+     * <p>\n+     * {@code zip} applies this function in strict sequence.\n+     * <p>\n+     * <img width=\"640\" height=\"380\" src=\"https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png\" alt=\"\">\n+     * <dl>\n+     *  <dt><b>Scheduler:</b></dt>\n+     *  <dd>{@code zip} does not operate by default on a particular {@link Scheduler}.</dd>\n+     * </dl>\n+     *\n+     * @param singles\n+     *            an Iterable of source Singles\n+     * @param zipFunction\n+     *            a function that, when applied to an item emitted by each of the source Singles, results in\n+     *            an item that will be emitted by the resulting Single\n+     * @return a Single that emits the zipped results\n+     * @see <a href=\"http://reactivex.io/documentation/operators/zip.html\">ReactiveX operators documentation: Zip</a>\n+     */\n+    @SuppressWarnings(\"unchecked\")\n+    public static <R> Single<R> zip(Iterable<? extends Single<?>> singles, FuncN<? extends R> zipFunction) {\n+        return SingleOperatorZip.zip(iterableToArray(singles), zipFunction);","path":"src/main/java/rx/Single.java","position":49,"original_position":49,"commit_id":"194732197ba3c05b1a653fbdab093dfd0898aecf","original_commit_id":"194732197ba3c05b1a653fbdab093dfd0898aecf","user":{"login":"artem-zinnatullin","id":967132,"avatar_url":"https://avatars.githubusercontent.com/u/967132?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-zinnatullin","html_url":"https://github.com/artem-zinnatullin","followers_url":"https://api.github.com/users/artem-zinnatullin/followers","following_url":"https://api.github.com/users/artem-zinnatullin/following{/other_user}","gists_url":"https://api.github.com/users/artem-zinnatullin/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-zinnatullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-zinnatullin/subscriptions","organizations_url":"https://api.github.com/users/artem-zinnatullin/orgs","repos_url":"https://api.github.com/users/artem-zinnatullin/repos","events_url":"https://api.github.com/users/artem-zinnatullin/events{/privacy}","received_events_url":"https://api.github.com/users/artem-zinnatullin/received_events","type":"User","site_admin":false},"body":"So, @akarnokd, @stealthcode let's use current implementation from this PR to be consistent with `Observable.zip(Iterable<Observable>)`?","created_at":"2015-12-08T04:36:39Z","updated_at":"2015-12-08T04:36:39Z","html_url":"https://github.com/ReactiveX/RxJava/pull/3539#discussion_r46914380","pull_request_url":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539","_links":{"self":{"href":"https://api.github.com/repos/ReactiveX/RxJava/pulls/comments/46914380"},"html":{"href":"https://github.com/ReactiveX/RxJava/pull/3539#discussion_r46914380"},"pull_request":{"href":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539"}}},"pull_request":{"url":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539","id":51659141,"html_url":"https://github.com/ReactiveX/RxJava/pull/3539","diff_url":"https://github.com/ReactiveX/RxJava/pull/3539.diff","patch_url":"https://github.com/ReactiveX/RxJava/pull/3539.patch","issue_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/3539","number":3539,"state":"open","locked":false,"title":"Add Single.zip() for Iterable of Singles","user":{"login":"artem-zinnatullin","id":967132,"avatar_url":"https://avatars.githubusercontent.com/u/967132?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-zinnatullin","html_url":"https://github.com/artem-zinnatullin","followers_url":"https://api.github.com/users/artem-zinnatullin/followers","following_url":"https://api.github.com/users/artem-zinnatullin/following{/other_user}","gists_url":"https://api.github.com/users/artem-zinnatullin/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-zinnatullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-zinnatullin/subscriptions","organizations_url":"https://api.github.com/users/artem-zinnatullin/orgs","repos_url":"https://api.github.com/users/artem-zinnatullin/repos","events_url":"https://api.github.com/users/artem-zinnatullin/events{/privacy}","received_events_url":"https://api.github.com/users/artem-zinnatullin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-24T13:27:44Z","updated_at":"2015-12-08T04:36:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f63ebf1e81959176eb08c64237d666be1acabb0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539/commits","review_comments_url":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539/comments","review_comment_url":"https://api.github.com/repos/ReactiveX/RxJava/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/3539/comments","statuses_url":"https://api.github.com/repos/ReactiveX/RxJava/statuses/194732197ba3c05b1a653fbdab093dfd0898aecf","head":{"label":"artem-zinnatullin:single-zip-iterable","ref":"single-zip-iterable","sha":"194732197ba3c05b1a653fbdab093dfd0898aecf","user":{"login":"artem-zinnatullin","id":967132,"avatar_url":"https://avatars.githubusercontent.com/u/967132?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-zinnatullin","html_url":"https://github.com/artem-zinnatullin","followers_url":"https://api.github.com/users/artem-zinnatullin/followers","following_url":"https://api.github.com/users/artem-zinnatullin/following{/other_user}","gists_url":"https://api.github.com/users/artem-zinnatullin/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-zinnatullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-zinnatullin/subscriptions","organizations_url":"https://api.github.com/users/artem-zinnatullin/orgs","repos_url":"https://api.github.com/users/artem-zinnatullin/repos","events_url":"https://api.github.com/users/artem-zinnatullin/events{/privacy}","received_events_url":"https://api.github.com/users/artem-zinnatullin/received_events","type":"User","site_admin":false},"repo":{"id":31721317,"name":"RxJava","full_name":"artem-zinnatullin/RxJava","owner":{"login":"artem-zinnatullin","id":967132,"avatar_url":"https://avatars.githubusercontent.com/u/967132?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-zinnatullin","html_url":"https://github.com/artem-zinnatullin","followers_url":"https://api.github.com/users/artem-zinnatullin/followers","following_url":"https://api.github.com/users/artem-zinnatullin/following{/other_user}","gists_url":"https://api.github.com/users/artem-zinnatullin/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-zinnatullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-zinnatullin/subscriptions","organizations_url":"https://api.github.com/users/artem-zinnatullin/orgs","repos_url":"https://api.github.com/users/artem-zinnatullin/repos","events_url":"https://api.github.com/users/artem-zinnatullin/events{/privacy}","received_events_url":"https://api.github.com/users/artem-zinnatullin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/artem-zinnatullin/RxJava","description":"RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.","fork":true,"url":"https://api.github.com/repos/artem-zinnatullin/RxJava","forks_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/forks","keys_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/teams","hooks_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/hooks","issue_events_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/issues/events{/number}","events_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/events","assignees_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/assignees{/user}","branches_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/branches{/branch}","tags_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/tags","blobs_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/git/refs{/sha}","trees_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/statuses/{sha}","languages_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/languages","stargazers_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/stargazers","contributors_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/contributors","subscribers_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/subscribers","subscription_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/subscription","commits_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/commits{/sha}","git_commits_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/git/commits{/sha}","comments_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/comments{/number}","issue_comment_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/issues/comments{/number}","contents_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/contents/{+path}","compare_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/merges","archive_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/downloads","issues_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/issues{/number}","pulls_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/pulls{/number}","milestones_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/milestones{/number}","notifications_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/labels{/name}","releases_url":"https://api.github.com/repos/artem-zinnatullin/RxJava/releases{/id}","created_at":"2015-03-05T15:42:19Z","updated_at":"2015-03-05T15:42:22Z","pushed_at":"2015-12-05T19:15:57Z","git_url":"git://github.com/artem-zinnatullin/RxJava.git","ssh_url":"git@github.com:artem-zinnatullin/RxJava.git","clone_url":"https://github.com/artem-zinnatullin/RxJava.git","svn_url":"https://github.com/artem-zinnatullin/RxJava","homepage":"","size":19158,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.x"}},"base":{"label":"ReactiveX:1.x","ref":"1.x","sha":"e6cea4582a05457bd431359f56cb0aec8f7e972d","user":{"login":"ReactiveX","id":6407041,"avatar_url":"https://avatars.githubusercontent.com/u/6407041?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveX","html_url":"https://github.com/ReactiveX","followers_url":"https://api.github.com/users/ReactiveX/followers","following_url":"https://api.github.com/users/ReactiveX/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveX/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveX/subscriptions","organizations_url":"https://api.github.com/users/ReactiveX/orgs","repos_url":"https://api.github.com/users/ReactiveX/repos","events_url":"https://api.github.com/users/ReactiveX/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveX/received_events","type":"Organization","site_admin":false},"repo":{"id":7508411,"name":"RxJava","full_name":"ReactiveX/RxJava","owner":{"login":"ReactiveX","id":6407041,"avatar_url":"https://avatars.githubusercontent.com/u/6407041?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveX","html_url":"https://github.com/ReactiveX","followers_url":"https://api.github.com/users/ReactiveX/followers","following_url":"https://api.github.com/users/ReactiveX/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveX/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveX/subscriptions","organizations_url":"https://api.github.com/users/ReactiveX/orgs","repos_url":"https://api.github.com/users/ReactiveX/repos","events_url":"https://api.github.com/users/ReactiveX/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReactiveX/RxJava","description":"RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.","fork":false,"url":"https://api.github.com/repos/ReactiveX/RxJava","forks_url":"https://api.github.com/repos/ReactiveX/RxJava/forks","keys_url":"https://api.github.com/repos/ReactiveX/RxJava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReactiveX/RxJava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReactiveX/RxJava/teams","hooks_url":"https://api.github.com/repos/ReactiveX/RxJava/hooks","issue_events_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/events{/number}","events_url":"https://api.github.com/repos/ReactiveX/RxJava/events","assignees_url":"https://api.github.com/repos/ReactiveX/RxJava/assignees{/user}","branches_url":"https://api.github.com/repos/ReactiveX/RxJava/branches{/branch}","tags_url":"https://api.github.com/repos/ReactiveX/RxJava/tags","blobs_url":"https://api.github.com/repos/ReactiveX/RxJava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReactiveX/RxJava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReactiveX/RxJava/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReactiveX/RxJava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReactiveX/RxJava/statuses/{sha}","languages_url":"https://api.github.com/repos/ReactiveX/RxJava/languages","stargazers_url":"https://api.github.com/repos/ReactiveX/RxJava/stargazers","contributors_url":"https://api.github.com/repos/ReactiveX/RxJava/contributors","subscribers_url":"https://api.github.com/repos/ReactiveX/RxJava/subscribers","subscription_url":"https://api.github.com/repos/ReactiveX/RxJava/subscription","commits_url":"https://api.github.com/repos/ReactiveX/RxJava/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReactiveX/RxJava/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReactiveX/RxJava/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReactiveX/RxJava/contents/{+path}","compare_url":"https://api.github.com/repos/ReactiveX/RxJava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReactiveX/RxJava/merges","archive_url":"https://api.github.com/repos/ReactiveX/RxJava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReactiveX/RxJava/downloads","issues_url":"https://api.github.com/repos/ReactiveX/RxJava/issues{/number}","pulls_url":"https://api.github.com/repos/ReactiveX/RxJava/pulls{/number}","milestones_url":"https://api.github.com/repos/ReactiveX/RxJava/milestones{/number}","notifications_url":"https://api.github.com/repos/ReactiveX/RxJava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReactiveX/RxJava/labels{/name}","releases_url":"https://api.github.com/repos/ReactiveX/RxJava/releases{/id}","created_at":"2013-01-08T20:11:48Z","updated_at":"2015-12-08T03:48:46Z","pushed_at":"2015-12-07T22:59:53Z","git_url":"git://github.com/ReactiveX/RxJava.git","ssh_url":"git@github.com:ReactiveX/RxJava.git","clone_url":"https://github.com/ReactiveX/RxJava.git","svn_url":"https://github.com/ReactiveX/RxJava","homepage":"","size":24734,"stargazers_count":9206,"watchers_count":9206,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1327,"mirror_url":null,"open_issues_count":185,"forks":1327,"open_issues":185,"watchers":9206,"default_branch":"1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539"},"html":{"href":"https://github.com/ReactiveX/RxJava/pull/3539"},"issue":{"href":"https://api.github.com/repos/ReactiveX/RxJava/issues/3539"},"comments":{"href":"https://api.github.com/repos/ReactiveX/RxJava/issues/3539/comments"},"review_comments":{"href":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539/comments"},"review_comment":{"href":"https://api.github.com/repos/ReactiveX/RxJava/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReactiveX/RxJava/pulls/3539/commits"},"statuses":{"href":"https://api.github.com/repos/ReactiveX/RxJava/statuses/194732197ba3c05b1a653fbdab093dfd0898aecf"}}}}