Search
Preparing search index...
The search index is not available
GlacierJS API Doc
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
GlacierJS API Doc
@glacierjs/plugin-collector
CollectorWindow
Class CollectorWindow
运行在 Window 线程中的数据收集插件
Hierarchy
CollectorWindow
Implements
WindowPlugin
Index
Constructors
constructor
Properties
context
name
options
Methods
before
Register
on
Use
send
Constructors
constructor
new
Collector
Window
(
options
:
CollectorWindowOptions
)
:
CollectorWindow
Parameters
options:
CollectorWindowOptions
Returns
CollectorWindow
Properties
Private
context
context
:
UseContext
Readonly
name
name
:
"@glacierjs/plugin-collector"
= PLUGIN_NAME
Private
options
options
:
CollectorWindowOptions
Methods
before
Register
before
Register
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Use
on
Use
(
context
:
UseContext
)
:
void
Parameters
context:
UseContext
Returns
void
Private
send
send
(
collectedData
:
CollectedData
<
unknown
>
[]
)
:
void
发送数据,由用户决定如何处理数据。
Parameters
collectedData:
CollectedData
<
unknown
>
[]
Returns
void
Modules
@glacierjs/core
@glacierjs/plugin-
assets-
cache
@glacierjs/plugin-
collector
@glacierjs/plugin-
precache
@glacierjs/plugin-
remote-
controller
@glacierjs/sw
@glacierjs/window
Collector
Window
constructor
context
name
options
before
Register
on
Use
send
Generated using
TypeDoc
运行在 Window 线程中的数据收集插件