Skip to content

Request for enhancement: Support Symbol.asyncDispose for session and operation #331

@dbo

Description

@dbo

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions