NatsBroker.prototype.respond<TReq, TRes>(): Promise<ISubscription>
Registers a responder whose result is returned to the requesting caller.
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