@tsdotnet/threading - v2.0.13
Preparing search index...
WorkerLike
Interface WorkerLike
interface
WorkerLike
{
onerror
?:
null
|
Action
<
any
>
;
onmessage
?:
null
|
Action
<
{
data
:
any
}
>
;
postMessage
(
obj
:
any
)
:
void
;
terminate
()
:
void
;
}
Index
Properties
onerror?
onmessage?
Methods
post
Message
terminate
Properties
Optional
onerror
onerror
?:
null
|
Action
<
any
>
Optional
onmessage
onmessage
?:
null
|
Action
<
{
data
:
any
}
>
Methods
post
Message
postMessage
(
obj
:
any
)
:
void
Parameters
obj
:
any
Returns
void
terminate
terminate
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
onerror
onmessage
Methods
post
Message
terminate
@tsdotnet/threading - v2.0.13
Loading...