Workers & Background
Background Sync API
Defer server actions until user has a stable network connection.
Checking support...
Feature Not SupportedThis browser does not support the Background Sync API Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
const reg = await navigator.serviceWorker.ready;
await reg.sync.register('outbox');About the Background Sync API Web API
Background Sync API allows tasks to be deferred until stable connectivity.
Specification:W3C & WHATWG Web API Standard
Sponsored Content