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 IDBContext.sync() implementation waits for any pending request to complete and then returns a Promise that resolves when the current transaction is complete. I think that does exactly what you're saying. Can you provide an example sequence of events where this fails?
wa-sqlite/src/examples/IDBContext.js
Line 97 in 29a38da
I'm someone new with Sqlite. But what i'm think is: when sqlite call the xSync, we may need to flush all thing to the disk(Indexed DB).Like:
async sync() {
await #chain;
return this.#txComplete;
}
Correct me if i have something misunderstand.
The text was updated successfully, but these errors were encountered: