Search
Preparing search index...
The search index is not available
@foxy.io/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@foxy.io/sdk
<internal>
AbstractWorker
Interface AbstractWorker
Hierarchy
AbstractWorker
ServiceWorker
Index
Properties
onerror
Methods
add
Event
Listener
remove
Event
Listener
Properties
onerror
onerror
:
null
|
(
(
this
:
AbstractWorker
, ev
:
ErrorEvent
)
=>
any
)
Methods
add
Event
Listener
add
Event
Listener
<
K
>
(
type
:
K
, listener
:
(
(
this
:
AbstractWorker
, ev
:
AbstractWorkerEventMap
[
K
]
)
=>
any
)
, options
?:
boolean
|
AddEventListenerOptions
)
:
void
add
Event
Listener
(
type
:
string
, listener
:
EventListenerOrEventListenerObject
, options
?:
boolean
|
AddEventListenerOptions
)
:
void
Type Parameters
K
extends
"error"
Parameters
type:
K
listener:
(
(
this
:
AbstractWorker
, ev
:
AbstractWorkerEventMap
[
K
]
)
=>
any
)
(
this
:
AbstractWorker
, ev
:
AbstractWorkerEventMap
[
K
]
)
:
any
Parameters
this:
AbstractWorker
ev:
AbstractWorkerEventMap
[
K
]
Returns
any
Optional
options:
boolean
|
AddEventListenerOptions
Returns
void
Parameters
type:
string
listener:
EventListenerOrEventListenerObject
Optional
options:
boolean
|
AddEventListenerOptions
Returns
void
remove
Event
Listener
remove
Event
Listener
<
K
>
(
type
:
K
, listener
:
(
(
this
:
AbstractWorker
, ev
:
AbstractWorkerEventMap
[
K
]
)
=>
any
)
, options
?:
boolean
|
EventListenerOptions
)
:
void
remove
Event
Listener
(
type
:
string
, listener
:
EventListenerOrEventListenerObject
, options
?:
boolean
|
EventListenerOptions
)
:
void
Type Parameters
K
extends
"error"
Parameters
type:
K
listener:
(
(
this
:
AbstractWorker
, ev
:
AbstractWorkerEventMap
[
K
]
)
=>
any
)
(
this
:
AbstractWorker
, ev
:
AbstractWorkerEventMap
[
K
]
)
:
any
Parameters
this:
AbstractWorker
ev:
AbstractWorkerEventMap
[
K
]
Returns
any
Optional
options:
boolean
|
EventListenerOptions
Returns
void
Parameters
type:
string
listener:
EventListenerOrEventListenerObject
Optional
options:
boolean
|
EventListenerOptions
Returns
void
Modules
<internal>
Cookie
Cookie
Jar
Backend
Core
Customer
Abstract
Worker
onerror
add
Event
Listener
remove
Event
Listener
Generated using
TypeDoc