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
At the moment, the only explicit Context support in the PouchDB bindings is for timeout contexts, which sets the AJAX timeout. (And, of course, just returning early, while leaving the process running in the background, if a context is cancelled--not ideal). But cancelling contexts is probably more common, and I should try to cancel an existing AJAX connection when that happens.
The text was updated successfully, but these errors were encountered:
flimzy
changed the title
Investigate canceling PouchDB ajax requests when the context is cancelled
pouchdb: Investigate canceling PouchDB ajax requests when the context is cancelled
Sep 2, 2023
At the moment, the only explicit Context support in the PouchDB bindings is for timeout contexts, which sets the AJAX timeout. (And, of course, just returning early, while leaving the process running in the background, if a context is cancelled--not ideal). But cancelling contexts is probably more common, and I should try to cancel an existing AJAX connection when that happens.
The text was updated successfully, but these errors were encountered: