mirror of
https://github.com/denoland/deno
synced 2024-08-25 02:57:22 +00:00
fix(kv): kv.close() interrupts in-flight operations (#19076)
Fixes https://github.com/denoland/deno/issues/19049
This commit is contained in:
parent
cb87cb0283
commit
320c6d30f5
6
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
6
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue