Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Expose an API to close channels #769

@merlinnot

Description

@merlinnot

Is your feature request related to a problem? Please describe.

Running more than one instance of Firestore in isolated, disposable contexts is not possible, as the underlying connection makes it impossible for these clients to be cleared from memory.

An example would be to use Node.js VM.

Describe the solution you'd like

I'd like to see an API to close all open streams, so the client can be garbage collected.

Describe alternatives you've considered

Hacking my way into @grpc/grpc-js, which exposes this API.

Additional context

Here's an example of what it can cause :)

Screen Shot 2019-09-30 at 21 39 01

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the googleapis/nodejs-firestore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions