method GcpPubSubBroker.prototype.disconnect
GcpPubSubBroker.prototype.disconnect(): Promise<void>

Closes the broker connection.

Return Type

Promise<void>

Usage

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