Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

tidy-opfs-close.md

5 lines418 Bytes

Reject pending OPFS requests when closing the SQLite connection, including when the worker reports a close error. Close now stops accepting requests when it starts, and concurrent close() calls share one outcome. The OPFS worker handles one request at a time, so close waits for earlier queries instead of failing while one waits for the OPFS access handle.