***`
@jupyterlite / @jupyterlite/server / IServiceWorkerManager
Interface: IServiceWorkerManager
#
Defined in: tokens.ts:12
The interface for the ServiceWorkerRegistration.
Properties#
browsingContextId
#
readonly
**browsingContextId**
:string
Defined in: tokens.ts:36
A unique id to identify the browsing context where the ServiceWorkerManager was instantiated.
`***
enabled
#
readonly
enabled
:boolean
Defined in: tokens.ts:31
Whether the ServiceWorker is enabled or not.
***`
ready
#
**ready**
:Promise
<void
>
Defined in: tokens.ts:41
A Promise that resolves when the ServiceWorker is registered, or rejects if it cannot
`***
registrationChanged
#
readonly
registrationChanged
:ISignal
<IServiceWorkerManager
,null
|ServiceWorkerRegistration
>
Defined in: tokens.ts:23
Signal fired when the registration changed.
Methods#
registerStdinHandler()
#
registerStdinHandler
(pathnameSuffix
,stdinHandler
):void
Defined in: tokens.ts:48
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