unregister<TResponse, TRequest extends Request<TResponse>> method

void unregister<TResponse, TRequest extends Request<TResponse>>(
  1. RequestHandler<TResponse, TRequest> handler
)

Registers the request handler for the given TRequest.

Implementation

void unregister<TResponse, TRequest extends Request<TResponse>>(
  RequestHandler<TResponse, TRequest> handler,
) {
  _requestHandlerStore.unregister(handler);
}