Open
Description
We don't differentiate between a null result and no result in the Java client today. Looking at the .NET client we have a hasResult
parameter when constructing the CompletionMessage
vs. no
hasResult
in the Java client.This causes code like below to never complete the client-side invoke:
class MyHub : Hub
{
Task<string?> Get()
{
return Task.FromResult<string?>(null);
}
}
connection.invoke(String.class, "Get").blockingGet();