-
Notifications
You must be signed in to change notification settings - Fork 831
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetch data after queued request has been sent #1695
Comments
Hmmm, it looks like the documentation for the background sync If all you need is the final responses, then that should work for you. However, if you need to modify the replay behavior of the queue based on the response of an individual replayed request, there's unfortunately no good solution for that now (but I'm hoping to release something in v4). See #1503 (comment) for more details. |
FYI, I'm submitted #1710, which I believe will address your issue. Please take a look at that PR and let me know what you think. |
Hey, thanks. Will look at it
…On Tue, 16 Oct 2018 at 00:46, Philip Walton ***@***.***> wrote:
FYI, I'm submitted #1710
<#1710>, which I believe will
address your issue. Please take a look at that PR and let me know what you
think.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1695 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AcausImGfzdMm-R5JzNQuKeJC_WePUbcks5ulQIagaJpZM4XXEDZ>
.
--
Full Stack Developer
<http://goog_1492742454>
www.dos-commas.com
|
This is addressed in Workbox v4. |
Hey, I am having an app that uses workbox.
The flow for one feature of the app -
when making a post request (when offline), I store the data on indexDB (manually) and (using background sync plugin) the request has been added to a queue.
When the user going online, the queued request has been executing. At this point, I want to have the data response from the server. (the same response that I would have if I was online)
So, Is it possible to have this data?
From what I can see, the plugin stores the whole request in the indexDB but I can't find a way to see the data that has been sent or the response of the server after the request has been sent.
My main goal is to be able to update the data I stored on indexDB with the response I get from the server.
Thanks!
The text was updated successfully, but these errors were encountered: