| 1 | /* IndexedDB async handlers; the worker parks the coro on the returned Promise so Python sees `idb_*` as yielding builtins composing with `gather` / `with_timeout`. */ |
| 2 | |
| 3 | /* IDBRequest -> Promise. Native IndexedDB is callback-only; this is the standard one-liner wrapper. */ |
| 4 | const promisify = (req) => new Promise((resolve, reject) => { |