Request for enhancement: Support `Symbol.asyncDispose` for session and operation

Open
#331 0 comments 2 reactions 1 assignee View on GitHub

@vikrantpuppala is already working on this.

Since Feb 23, 2026.

Assessment

This issue has not been assessed yet.

Description

Supporting Symbol.asyncDispose to close the session resp. operation would allow to use explicit resource management which is supported by node.js for quite some time, e.g.

await using session = await client.openSession();
...

see https://github.com/tc39/proposal-explicit-resource-management

Dominant language
TypeScript
Stars
36
Forks
50
Avg merge
1d 6h
Merged PRs (30d)
12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from databricks/databricks-sql-nodejs

All issues in databricks/databricks-sql-nodejs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.