duckdb / duckdb/duckdb-node-neo

Consider making the `close` method of `Connection` and the `flush` and `close` methods of Appender async

Open
#155 2 comments 0 reactions 1 assignee Claimed by @jraymakers View on GitHub
enhancement
Dominant language
TypeScript
Stars
197
Forks
46
Avg merge
15h 38m
Merged PRs (30d)
22

Description

Closing a connection or flushing or closing an appender could result in nontrivial work. Perhaps these methods should be made async.

One complication is when a connection or appender object is finalized and gets closed in the finalizer (which can't be async). Perhaps both sync and async methods could be provided for this functionality.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.