lib
Toggle table of contents
js
Target filter
js
Switch theme
Search in API
Skip to content
lib
mockzilla
/
com.apadmi.mockzilla.lib.internal.msw
/
ServiceWorkerInstance
Service
Worker
Instance
js
@
InternalMockzillaApi
external
interface
ServiceWorkerInstance
Members
Properties
context
Link copied to clipboard
js
abstract
val
context
:
ServiceWorkerContext
Functions
reset
Handlers
Link copied to clipboard
js
abstract
fun
resetHandlers
(
)
:
Promise
<
Unit
>
start
Link copied to clipboard
js
abstract
fun
start
(
options
:
StartServiceWorkerOptions
)
:
Promise
<
Unit
>
stop
Link copied to clipboard
js
abstract
fun
stop
(
)
:
Promise
<
Unit
>
use
Link copied to clipboard
js
abstract
fun
use
(
vararg
handlers
:
RestHandler
)
:
Promise
<
Unit
>