amabush
amabush3d ago

Show user's pending offline mutation(s)?

If a user does a mutation while offline, how does Convex handle that mutation? Let's say this app functions similarly to Instagram where you make posts to a timeline. My understanding is that Convex will store the mutation and post in-memory, then keep retrying the mutation until the user is back online. If my understanding correct? If it is, then is there a way to give the end user more control over, or at least visiblity into, these pending mutations? For example, the user is able to make a post even if they're offline, and on the UI it displays something like "3 posts pending a network connection. Would you like to retry now or Discard Changes?")
1 Reply
Convex Bot
Convex Bot3d ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!

Did you find this page helpful?