Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added forceReinitIfPreviouslyFailed to installOpfsSAHPoolVfs options#117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jurerotar wants to merge1 commit intosqlite:main
base:main
Choose a base branch
Loading
fromjurerotar:feat/forceReinitIfPreviouslyFailed
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added forceReinitIfPreviouslyFailed to installOpfsSAHPoolVfs options
  • Loading branch information
@jurerotar
jurerotar committedOct 27, 2025
commitdda35bcbd9d6744e30c1d59bd3bb78fe382271d9
22 changes: 22 additions & 0 deletionsindex.d.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2007,6 +2007,28 @@ declare type Sqlite3Static = {
* option.
*/
name?: string;

/**
* (default=false, available as of 3.47) is an opt-in workaround for a
* particular browser quirk which can cause initialization of this VFS to
* fail on its first attempt but to succeed if a second attempt is tried a
* short time later.
*
* Forewarning: this flag should truly never be used, as an environment
* which requires this workaround is inherently suspect for purposes of this
* VFS, but it is provided for developers who wish to throw caution to the
* wind and hope for the best.
*
* What it does: when this VFS initializes, the result is cached (whether
* success or failure) so that future calls to installOpfsSAHPoolVfs() can
* return consistent results, as described in the next section. This flag
* will override a cached failure result and instead attempt to initialize
* the VFS a second time. In environments affected by the motivating ticket,
* that second attempt may well work. The library does not automatically
* retry in such cases for reasons explained in that ticket's discussion
* thread.
*/
forceReinitIfPreviouslyFailed?: boolean;
}): Promise<SAHPoolUtil>;

WasmAllocError: typeof WasmAllocError;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp