Skip to content
#

rpc-library

Here are 76 public repositories matching this topic...

ikhoon
ikhoon commented Sep 28, 2021

If a user performs a blocking task in decorator chains or services, they have to 1) submit a task to a blocking task executor,
2) pass the result to a CompletableFuture and 3) wrap the CompletableFuture with HttpResponse.from().

sb.serviceUnder("/web", service.decorate((delegate, ctx, req) -> {
    CompletableFuture<HttpResponse> future = new CompletableFuture<>();
    ctx.bl

Improve this page

Add a description, image, and links to the rpc-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rpc-library topic, visit your repo's landing page and select "manage topics."

Learn more