node_modules/@google-cloud/firestore/build/src/index.js
/**
     * Terminates the Firestore client and closes all open streams.
     *
     * @return A Promise that resolves when the client is terminated.
     */
Terminates the Firestore client and closes all open streams.
@return A Promise that resolves when the client is terminated.
Terminates the Firestore client and closes all open streams . @return A Promise that resolves when the client is terminated .
terminate() {
        if (this.registeredListenersCount > 0) {
            return Promise.reject('All onSnapshot() listeners must be unsubscribed before terminating the client.');
        }
        return this._clientPool.terminate();
    }
terminate ( ) { if ( this . registeredListenersCount > 0 ) { return Promise . reject ( 'All onSnapshot() listeners must be unsubscribed before terminating the client.' ) ; } return this . _clientPool . terminate ( ) ; }
Terminates the Firestore client and closes all open streams.
Terminates the Firestore client and closes all open streams .