Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeleteDBCallbacks

interface DeleteDBCallbacks {
blocked?(currentVersion: number, event: IDBVersionChangeEvent): void;
}

§Methods

§
blocked?(currentVersion: number, event: IDBVersionChangeEvent): void
[src]

Called if there are connections to this database open, so it cannot be deleted.

@param currentVersion

Version of the database that's blocking the delete operation.

@param event

The event object for the associated blocked event.