Quiz on Background Sync APIs

Test your understanding of the concepts used in BackgroundSync API.

1

How can a periodic sync task be registered in a service worker?

A)

By using the navigator.registerPeriodicSync() method

B)

By calling the serviceWorker.registerPeriodicSync() function

C)

By utilizing the registration.periodicSync.register() method

D)

By invoking the navigator.serviceWorker.registerSyncTask() function

Question 1 of 60 attempted

Get hands-on with 1400+ tech skills courses.