Products Web Tools for Web Developers Module: workbox-background-sync workbox-background-sync module workbox-background-sync A helper library that queues specified requests if they fail over network. Later it uses the Background Sync API to replay these queued requests when the network state has changed. The main use of this module will be instantiating a new QueuePlugin and passing it to a RequestWrapper, as shown in the first example below. Classes Queue Use the instance of this class to push the failed requests into the queue. QueuePlugin Use the instance of this class to push the failed requests into the queue. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated October 6, 2017.