Search
Preparing search index...
The search index is not available
Unraid API Client - v0.17.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Unraid API Client - v0.17.0
SystemModuleCpuExtension
Class SystemModuleCpuExtension
Hierarchy
SystemModuleExtensionBase
SystemModuleCpuExtension
SystemModule
Index
Constructors
constructor
Properties
instance
Methods
on_
cpu
Usage
usage
Constructors
constructor
new
System
Module
Cpu
Extension
(
instance
:
Unraid
<
Executor
<
ExecutorConfigType
>
,
ExecutorConfigType
>
)
:
SystemModuleCpuExtension
Parameters
instance:
Unraid
<
Executor
<
ExecutorConfigType
>
,
ExecutorConfigType
>
Returns
SystemModuleCpuExtension
Properties
Readonly
instance
instance
:
Unraid
<
Executor
<
ExecutorConfigType
>
,
ExecutorConfigType
>
Methods
on_
cpu
Usage
on_
cpu
Usage
(
listener
:
(
newLoad
:
CPUUsage
)
=>
void
, options
?:
ICpuUsageStreamOption
)
:
[
(
)
=>
void
]
Parameters
listener:
(
newLoad
:
CPUUsage
)
=>
void
(
newLoad
:
CPUUsage
)
:
void
Parameters
newLoad:
CPUUsage
Returns
void
Optional
options:
ICpuUsageStreamOption
Returns
[
(
)
=>
void
]
usage
usage
(
)
:
Promise
<
CPUUsage
>
Returns
Promise
<
CPUUsage
>
Exports
System
Module
Cpu
Extension
constructor
instance
on_
cpu
Usage
usage
Generated using
TypeDoc