Closed
Description
E.g. in Channel
:
void asyncRpc(Method method, CommandCallback callback) throws IOException;
With:
public interface CommandCallback {
void handle(Command response);
}
This could allow to build a reactive API and also, combined with NIO, to have a truly non-blocking client (right now RPC calls are serialized, at least at the channel level).