dis+/node_modules/@google-cloud/pubsub/build/src/v1/subscriber_client.js
/**
     * Terminate the gRPC channel and close the client.
     *
     * The client will no longer be usable and all future behavior is undefined.
     * @returns {Promise} A promise that resolves when the client is closed.
     */
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
@returns {Promise} A promise that resolves when the client is closed.
Terminate the gRPC channel and close the client . The client will no longer be usable and all future behavior is undefined . @returns { Promise } A promise that resolves when the client is closed .
close() {
        this.initialize();
        if (!this._terminated) {
            return this.subscriberStub.then(stub => {
                this._terminated = true;
                stub.close();
            });
        }
        return Promise.resolve();
    }
close ( ) { this . initialize ( ) ; if ( ! this . _terminated ) { return this . subscriberStub . then ( stub => { this . _terminated = true ; stub . close ( ) ; } ) ; } return Promise . resolve ( ) ; }
Terminate the gRPC channel and close the client.
Terminate the gRPC channel and close the client .