Is your feature request related to a problem? Please describe.
To avoid memory leaks, IDB users need to clean up database resources
Typescript 5.2 introduced a using keyword to perform resource cleanup when a resource exits lexical scope
Describe the solution you'd like
Add a Symbol.dispose handler on the resource returned from openDB so Typescript 5.2+ users can use the using keyword to automatically close the DB connection
Is your feature request related to a problem? Please describe.
using
keyword to perform resource cleanup when a resource exits lexical scopeDescribe the solution you'd like
Symbol.dispose
handler on the resource returned fromopenDB
so Typescript 5.2+ users can use theusing
keyword to automatically close the DB connection