IMessageBroker.respond<TReq, TRes>(): Promise<ISubscription>
Registers a responder for a request topic. The handler's resolved value is sent back to the requesting caller, correlated to the originating request.
Pass options.queue to load-balance requests across competing responders.
handler: RequestHandler<TReq, TRes>
Invoked per request; its result is returned to the caller
optional
options: SubscribeOptions
Consumer group behavior
Promise<ISubscription>
The active subscription