Interface INatsClientOptions

Options for NatsClient class.

interface INatsClientOptions {
    abortController?: Nilable<AbortController>;
    connectionOptions?: Nilable<GetterOrValue<ConnectionOptions>>;
    isMock?: Nilable<boolean>;
    name: string;
}

Properties

abortController?: Nilable<AbortController>

A custom AbortController.

connectionOptions?: Nilable<GetterOrValue<ConnectionOptions>>

Custom connection options or the function that receives it.

isMock?: Nilable<boolean>

Is in mock mode or not.

name: string

Name of the connection.

Generated using TypeDoc