getSubscriptions method

JSPromise<JSArray<CookieStoreGetOptions>> getSubscriptions()

@AvailableInWorkers("window_and_service")

The getSubscriptions() method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.

Implementation

external JSPromise<JSArray<CookieStoreGetOptions>> getSubscriptions();