mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05: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
1 changed files with 3 additions and 3 deletions
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