Search
Preparing search index...
The search index is not available
Parallel ES
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"common/worker/worker-thread-state"
WorkerThreadExecutingState
Class WorkerThreadExecutingState
Worker thread is executing a function on the {@link IWorkerSlave}
Hierarchy
WorkerThreadState
WorkerThreadExecutingState
Index
Constructors
constructor
Properties
callback
communication
Channel
function
Registry
name
Methods
handle
Function
Request
on
Error
on
Message
Constructors
constructor
new
Worker
Thread
Executing
State
(
callback
:
function
, functionRegistry
:
DynamicFunctionRegistry
, communicationChannel
:
IWorkerThreadSlaveCommunicationChannel
)
:
WorkerThreadExecutingState
Parameters
callback:
function
(
error
:
any
, result
:
any
)
:
void
Parameters
error:
any
result:
any
Returns
void
functionRegistry:
DynamicFunctionRegistry
communicationChannel:
IWorkerThreadSlaveCommunicationChannel
Returns
WorkerThreadExecutingState
Properties
Private
callback
callback
:
function
Type declaration
(
error
:
any
, result
:
any
)
:
void
Parameters
error:
any
result:
any
Returns
void
Private
communication
Channel
communication
Channel
:
IWorkerThreadSlaveCommunicationChannel
Private
function
Registry
function
Registry
:
DynamicFunctionRegistry
name
name
:
string
Methods
Private
handle
Function
Request
handle
Function
Request
(
message
:
IFunctionRequest
)
:
void
Parameters
message:
IFunctionRequest
Returns
void
on
Error
on
Error
(
error
:
any
)
:
void
Parameters
error:
any
Returns
void
on
Message
on
Message
(
message
:
IWorkerMessage
)
:
void
Parameters
message:
IWorkerMessage
Returns
void
Globals
"common/worker/worker-
thread-
state"
Worker
Thread
Executing
State
constructor
callback
communication
Channel
function
Registry
name
handle
Function
Request
on
Error
on
Message
Worker
Thread
State
Generated using
TypeDoc
Worker thread is executing a function on the {@link IWorkerSlave}