Skip to main content

AuthorizingServiceWorker

A service worker registered by TwinfinitySession.registerServiceWorker.

Index

Properties

Methods

Properties

readonlyregistration

registration: ServiceWorkerRegistration

Methods

revoke

  • revoke(): void
  • Stops lending the session's token to the worker, and tells the worker to forget the one it has. The worker stays registered; without a token it sends requests unchanged. Idempotent.

    Called automatically when the session is disconnected or terminated.


    Returns void

Page Options