method NatsBroker.prototype.disconnect
Since 0.1.0
NatsBroker.prototype.disconnect(): Promise<void>

Disconnects from NATS.

Return Type

Promise<void>

Resolves when disconnected

Usage

import { NatsBroker } from "messaging-plugin/src/index.ts";