-
Notifications
You must be signed in to change notification settings - Fork 166
docs: Add transaction submission status tracking guide #1219
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
base: main
Are you sure you want to change the base?
Conversation
Add a "Tracking Submission Status" section to the offline-transactions README covering the existing APIs for monitoring whether items have been submitted to the server: tx.state, tx.isPersisted.promise, per-item tracking via a Map, and outbox inspection via peekOutbox(). https://claude.ai/code/session_01UHyeQv9yEn4FKK49mK9Vvw
|
More templates
@tanstack/angular-db
@tanstack/db
@tanstack/db-ivm
@tanstack/electric-db-collection
@tanstack/offline-transactions
@tanstack/powersync-db-collection
@tanstack/query-db-collection
@tanstack/react-db
@tanstack/rxdb-db-collection
@tanstack/solid-db
@tanstack/svelte-db
@tanstack/trailbase-db-collection
@tanstack/vue-db
commit: |
|
Size Change: 0 B Total Size: 92 kB ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 3.7 kB ℹ️ View Unchanged
|
🎯 Changes
Added comprehensive documentation for tracking submission status of offline transactions in the offline-transactions package README. This new section covers:
tx.stateandtx.isPersisted.promisegetPendingCount(),getRunningCount(),peekOutbox()) for visibility into queued transactions and retry informationThis documentation addresses a common need in offline-first applications and provides developers with clear patterns and examples for implementing submission status tracking.
✅ Checklist
pnpm test:pr.🚀 Release Impact
https://claude.ai/code/session_01UHyeQv9yEn4FKK49mK9Vvw