mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
move compute to the main thread for browser and node
- now, most of the work is happening on the main thread - for database in browser, we still have dedicated WebWorker - but it is used only for OPFS access and only for that - for syn in browser we still offload sync operations to the WebWorker
This commit is contained in:
@@ -20,5 +20,5 @@ export const Database = napiModule.exports.Database
|
||||
export const Opfs = napiModule.exports.Opfs
|
||||
export const OpfsFile = napiModule.exports.OpfsFile
|
||||
export const Statement = napiModule.exports.Statement
|
||||
export const connect = napiModule.exports.connect
|
||||
export const connectDbAsync = napiModule.exports.connectDbAsync
|
||||
export const initThreadPool = napiModule.exports.initThreadPool
|
||||
|
||||
Reference in New Issue
Block a user