TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/engine
WorkerPort
Interface WorkerPort
A worker connection; listener removal and termination are distinct lifetime operations.
interface
WorkerPort
{
post
:
(
request
:
RequestEnvelope
)
=>
void
;
listen
:
(
listeners
:
WorkerListeners
)
=>
()
=>
void
;
terminate
:
()
=>
void
;
}
Index
Properties
post
listen
terminate
Properties
Readonly
post
post
:
(
request
:
RequestEnvelope
)
=>
void
Readonly
listen
listen
:
(
listeners
:
WorkerListeners
)
=>
()
=>
void
Readonly
terminate
terminate
:
()
=>
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
post
listen
terminate
TOC Toolkit API - v0.1.0
Loading...
A worker connection; listener removal and termination are distinct lifetime operations.