Package io.webfolder.cdp.command
Interface ServiceWorkerAsync
public interface ServiceWorkerAsync
-
Method Summary
Modifier and TypeMethodDescriptiondeliverPushMessage
(String origin, String registrationId, String data) disable()
dispatchPeriodicSyncEvent
(String origin, String registrationId, String tag) dispatchSyncEvent
(String origin, String registrationId, String tag, Boolean lastChance) enable()
inspectWorker
(String versionId) setForceUpdateOnPageLoad
(Boolean forceUpdateOnPageLoad) skipWaiting
(String scopeURL) startWorker
(String scopeURL) stopWorker
(String versionId) unregister
(String scopeURL) updateRegistration
(String scopeURL)
-
Method Details
-
deliverPushMessage
-
disable
CompletableFuture<Void> disable() -
dispatchPeriodicSyncEvent
-
dispatchSyncEvent
-
enable
CompletableFuture<Void> enable() -
inspectWorker
-
setForceUpdateOnPageLoad
-
skipWaiting
-
startWorker
-
stopAllWorkers
CompletableFuture<Void> stopAllWorkers() -
stopWorker
-
unregister
-
updateRegistration
-