F.Promise<String> searchPromise = ServiceClientJ.makeServiceCall("search");
F.Promise<Html> wvypHtmlPromise = render(wvypPromise, views.html.wvyp.wvypCount.f());
F.Promise<Html> searchHtmlPromise = render(searchPromise, views.html.wvyp.searchCount.f());
HtmlStream wvypStream = Pagelet.renderStream(wvypHtmlPromise, "wvypCount");
HtmlStream searchStream = Pagelet.renderStream(searchHtmlPromise, "searchCount");
HtmlStream body = HtmlStream.interleave(Arrays.asList(wvypStream, searchStream));
return ok(HtmlStream.toChunks(views.stream.wvyp.wvyp.apply(body)));
}