This is a generated TypeScript/Node.js NATS client for the application - Rust public API.
We highly recommend you do not modify this client in any way since it is build for you to re-generate it when your AsyncAPI document changes.
test
You can find the general information about the different aspects of this library by checking the documentation folder.
An API document have also been generated which contains all the possible configurations and usages this client supports.
import * as GeneratedClient from "./nats-client";
const natsClient = new GeneratedClient.NatsAsyncApiClient();
natsClient.connect(...).catch((e) => {});