***`
@jupyterlite / @jupyterlite/server / IServiceWorkerManager
Interface: IServiceWorkerManager#
Defined in: tokens.d.ts:7
The interface for the ServiceWorkerRegistration.
Properties#
browsingContextId#
readonly**browsingContextId**:string
Defined in: tokens.d.ts:23
A unique id to identify the browsing context where the ServiceWorkerManager was instantiated.
`***
enabled#
readonlyenabled:boolean
Defined in: tokens.d.ts:19
Whether the ServiceWorker is enabled or not.
***`
ready#
**ready**:Promise<void>
Defined in: tokens.d.ts:27
A Promise that resolves when the ServiceWorker is registered, or rejects if it cannot
`***
registrationChanged#
readonlyregistrationChanged:ISignal<IServiceWorkerManager,null|ServiceWorkerRegistration>
Defined in: tokens.d.ts:15
Signal fired when the registration changed.
Methods#
registerStdinHandler()#
registerStdinHandler(pathnameSuffix,stdinHandler):void
Defined in: tokens.d.ts:33
Register a handler for stdin requests received via ServiceWorker.
Parameters#
pathnameSuffix#
string
URL pathname suffix to match such as “kernel” or “terminal”.
stdinHandler#
Returns#
void