提出并行请求

你可以使用 zip 运算符并行生成请求并组合结果,例如:

Observable.zip(api.getRepo(repoId1), api.getRepo(repoId2), (repo1, repo2) ->
    {
        //here you can combine the results
    }).subscribe(/*do something with the result*/);