You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Node.js File System API doesn't meet the SQLite "VFS" API because Node.js provides asynchronous functions but SQLite requires synchronous functions. (Node.js also provides synchronous version of these functions, but they block all other async tasks running in the same thread.)
Although I haven't tried it yet, Asyncify should be helpful to solve that problem: it converts some synchronous function calls (and currently all function pointer calls) into asynchronous ones.
Oh, I haven't cared the fact that the SQLite API would be async too if Asyncify is enabled, and it is not so obvious that JavaScript code is able to call async functions in C. The way to do so is not well documented.
No description provided.
The text was updated successfully, but these errors were encountered: