handle static method

void handle(
  1. String channel,
  2. String method,
  3. ServerCommandHandler handler
)

Registers the handler an attacher's req frames on channel/method reach. This is what makes queries explainable: the handler runs inside the server, against its own live connections.

Implementation

static void handle(
  String channel,
  String method,
  ServerCommandHandler handler,
) {
  _active?.registerHandler(channel, method, handler);
}