summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeyang Zhou <zhy20000919@hotmail.com>2023-05-17 12:18:47 +0800
committerGitHub <noreply@github.com>2023-05-17 12:18:47 +0800
commit320c6d30f5d56d33c1ed37f6d0f875fcd3a39480 (patch)
tree5bb3c355a4f4d14b3ea798aee43577bc1a294574
parentcb87cb0283fbe95ace2317b0617e7e74382bf4db (diff)
fix(kv): kv.close() interrupts in-flight operations (#19076)
Fixes https://github.com/denoland/deno/issues/19049
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index e70d50820..3a4344bd8 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -2051,10 +2051,10 @@ declare namespace Deno {
/**
* Close the database connection. This will prevent any further operations
- * from being performed on the database, but will wait for any in-flight
- * operations to complete before closing the underlying database connection.
+ * from being performed on the database, and interrupt any in-flight
+ * operations immediately.
*/
- close(): Promise<void>;
+ close(): void;
}
/** **UNSTABLE**: New API, yet to be vetted.