File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1412,6 +1412,17 @@ type SAHPoolUtil = {
14121412 * currently in use, e.g. by an sqlite3 db.
14131413 */
14141414 wipeFiles : ( ) => Promise < void > ;
1415+
1416+ /** Unregister this VFS and release file access handles, without clearing
1417+ * files. The database must be closed before calling this. */
1418+ pauseVfs : ( ) => SAHPoolUtil ;
1419+
1420+ /** Returns `true` if this VFS pool is paused */
1421+ isPaused : ( ) => boolean ;
1422+
1423+ /** Re-register this VFS and re-acquire file access handles. Any previously
1424+ * open databases will have to be re-opened after calling this. */
1425+ unpauseVfs : ( ) => Promise < SAHPoolUtil > ;
14151426} ;
14161427
14171428/** Exception class for reporting WASM-side allocation errors. */
You can’t perform that action at this time.
0 commit comments